https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
r

raul

02/03/2022, 12:44 PM
Hello All, i'm trying to overwrite image:tag name using helm --set command. Not sure what doing i am doing wrong but it's getting me below error. Can anyone help me how to set image;tag overwrite during helm release.
Copy code
dagster:
- dagster-user-deployments.deployments: Invalid type. Expected: array, given: object
dagster-user-deployments:
- deployments: Invalid type. Expected: array, given: object
helm fetch dagster/dagster --version 0.13.11
helm  install dagster-dev ./dagster --set "dagster-user-deployments.deployments.0.image={repository=dagster-base}" --dry-run
d

daniel

02/03/2022, 1:04 PM
Hi raul, I think you want deployments[0] not deployments.0
r

raul

02/03/2022, 1:10 PM
Thanks Daniel for the response. I tried both of the commands below but erroring out.
helm  install dagster-dev ./dagster --set "dagster-user-deployments.deployments[0].image={repository=dagster-base}"
helm  install dagster-dev ./dagster --set "dagster-user-deployments.deployments[0].image.repository=dagster-base"
Copy code
dagster:
- dagster-user-deployments.deployments.0: name is required
- dagster-user-deployments.deployments.0: dagsterApiGrpcArgs is required
- dagster-user-deployments.deployments.0: port is required
- dagster-user-deployments.deployments.0.image: pullPolicy is required
dagster-user-deployments:
- deployments.0: name is required
- deployments.0: dagsterApiGrpcArgs is required
- deployments.0: port is required
- deployments.0.image: pullPolicy is required
d

daniel

02/03/2022, 1:14 PM
You may also need to specify your values.yaml file still
In addition to the override
r

raul

02/03/2022, 1:19 PM
I am assuming i can provide values.yaml at the end ?
let me try.
d

daniel

02/03/2022, 1:24 PM
I believe it's a -f argument
r

raul

02/03/2022, 2:05 PM
Thanks Daniel, Been after this for more than a day almost...Now when i generate the template files i can see updated values.
Copy code
helm  install dagster-dev ../dagster -f values.yaml \
    --set "dagster-user-deployments.deployments[0].image.repository=dagster-base"  \
    --set "dagster-user-deployments.deployments[0].image.tag=v3" --dry-run
condagster 1