There are a few variables that are customizable for eda the image management.
Name | Description | Default |
---|---|---|
image | Path of the image to pull | quay.io/ansible/eda-server |
image_version | Image version to pull | value of DEFAULT_EDA_VERSION or main |
image_web | Path of the image to pull | quay.io/ansible/eda-ui |
image_web_version | Image version to pull | value of DEFAULT_EDA_UI_VERSION or main |
image_pull_policy | The pull policy to adopt | IfNotPresent |
image_pull_secrets | The pull secrets to use | None |
redis_image | Path of the image to pull | redis |
redis_image_version | Image version to pull | c9s |
postgres_image | Path of the image to pull | postgres |
postgres_image_version | Image version to pull | latest |
Example of customization could be:
---
spec:
...
image: myorg/my-custom-eda
image_version: main
image_web: myorg/my-custom-eda
image_web_version: main
image_pull_policy: Always
image_pull_secrets:
- pull_secret_name
Note: The
image
andimage_version
style variables are intended for local mirroring scenarios. Please note that using a version of EDA other than the one bundled with theeda-server-operator
is 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 EDA Operator.
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 EDA spec
---
spec:
image_pull_secrets:
- redhat-operators-pull-secret