There are a few variables that are customizable for AnsibleAIConnect image management.
| Name | Description | Default |
|---|---|---|
image |
Path of the image to pull | quay.io/ansible/ansible-ai-connect-service |
chatbot_image |
Path of the image to pull | quay.io/ansible/ansible-chatbot-service |
image_version |
Image version to pull | value of DEFAULT_AI_CONNECT_VERSION or main |
chatbot_image_version |
Image version to pull | value of DEFAULT_CHATBOT_AI_CONNECT_VERSION or main |
image_pull_policy |
The pull policy to adopt | IfNotPresent |
image_pull_secrets |
The pull secrets to use | None |
postgres_image |
Path of the image to pull | postgres |
postgres_image_version |
Image version to pull | latest |
chatbot_extra_settings |
Chatbot extra settings Dictionary | None |
Chatbot extra settings (chatbot_extra_settings) possible keys values
| Name | Description | Default |
|---|---|---|
chatbot_byok_image |
Chatbot BYOK image | None |
chatbot_byok_image_version |
Chatbot BYOK image version to pull | latest |
chatbot_byok_storage_size |
Chatbot BYOK Volume storage size | 2Gi |
chatbot_byok_score_multiplier |
Chatbot BYOK score multiplier | 1.2 |
Example of customization could be:
---
spec:
...
image: myorg/my-custom-aiconnect
image_version: main
chatbot_image: myorg/my-custom-chatbot
chatbot_image_version: main
image_pull_policy: Always
image_pull_secrets:
- pull_secret_nameNote: The
image/chatbot_imageandimage_version/chatbot_image_versionstyle variables are intended for local mirroring scenarios. Please note that using a version ofAnsibleAIConnect/Chatbot other than the one bundled with theansible-ai-connect-operatoris not supported even though it will likely work and can be useful for pinning a version. For the default values, check the main.yml file.
- Log in with that token, or username/password, then create a pull secret from the docker/config.json
docker login quay.io -u <user> -p <token>- Then, create a k8s secret from your .docker/config.json file. This pull secret should be created in the same namespace you are installing the
AnsibleAIConnectOperator.
kubectl create secret generic redhat-operators-pull-secret \
--from-file=.dockerconfigjson=.docker/config.json \
--type=kubernetes.io/dockerconfigjson- Add that image pull secret to your
AnsibleAIConnectspec
---
spec:
image_pull_secrets:
- redhat-operators-pull-secret- Add Chatbot BYOK settings
---
...
spec:
chatbot_extra_settings:
chatbot_byok_image: 'quay.io/<repository>/rag-content-output'
chatbot_byok_image_version: latest
chatbot_byok_storage_size: '2Gi'
chatbot_byok_score_multiplier: 1.2