Hello I'm facing an issue while trying to upgrade ...
# ask-community
t
Hello I'm facing an issue while trying to upgrade Dagster to 0.14.17 when I define my container image in my
values.yaml
the following way, all is good
Copy code
dagster:
  dagster-user-deployments:
    enabled: true
    deployments:
      - name: "my-data-pipelines"
        image:
          repository: "myrepo/mycontainer"
          tag: local
The image is good:
Copy code
image: "myrepo:local"
But when I try to use my version instead of local like 20220531.1:
Copy code
dagster:
  dagster-user-deployments:
    enabled: true
    deployments:
      - name: "my-data-pipelines"
        image:
          repository: "myrepo/mycontainer"
          tag: "20220531.1"
The image is wrong
Copy code
image: "myrepo/mycontainer:\"20220531.1\""
and the image cannot be found in the repo because the image should be
image: "myrepo/mycontainer:20220531.1"
This was working as expected in version 0.14.3 What should I do instead?
🤖 1
d
Hi Thierry - where is it saying that the image needs to start with "image:", is it possible to post the text of the error that you ran into?
Oh interesting, I wonder if there's a validation error because the tag only has numeric characters
t
Yes it seems to be the case if I just do tag: 20220531.1 there is a validation error
d
https://github.com/dagster-io/dagster/pull/7579 seems possibly relevant here - cc @rex. What if you do:
Copy code
tag: 20220531.1
(no quotes)
t
That's the error I get:
Copy code
Error: values don't meet the specifications of the schema(s) in the following chart(s):
dagster:
- dagster-user-deployments.deployments.0.image.tag: Must validate at least one schema (anyOf)
- dagster-user-deployments.deployments.0.image.tag: Invalid type. Expected: string, given: number
dagster-user-deployments:
- deployments.0.image.tag: Must validate at least one schema (anyOf)
- deployments.0.image.tag: Invalid type. Expected: string, given: number
But it will work if I just have 20220531
I think it doesn't like the floating point
r
ah gross.. i’ll get in a fix for you
🙏 1
t
Thank you!
t
Thanks a lot for the quick fix