I managed to update the image for lenses-sql-runner, but I couldn’t do the same for init-lenses-sql-runner, which continues to start from lensesio/lenses-cli:5.4. How can I change the image for init-lenses-sql-runner?
Hello Edward_k,
There are two ways in the Helm chart for you to add custom options:
- Use the append functionality to inject values directly at the Lenses configuration file. lenses-helm-charts/charts/lenses/values.yaml at release/5.4 · lensesio/lenses-helm-charts · GitHub or the example below:
lenses:
append:
conf: |
lenses.kubernetes.init.container.image.name="my.registry/lenses-cli"
lenses.kubernetes.init.container.image.tag="5.4"
- Use the environment variables functionality to inject values at the docker image level. lenses-helm-charts/charts/lenses/values.yaml at release/5.4 · lensesio/lenses-helm-charts · GitHub or the example below:
lenses:
additionalEnv:
- name: LENSES_KUBERNETES_INIT_CONTAINER_IMAGE_NAME
value: my.registry/lenses-cli
- name: LENSES_KUBERNETES_INIT_CONTAINER_IMAGE_TAG
value: "5.4"