Skaffold: helm deploy not resulting in a patched release

Created on 21 Oct 2018  路  3Comments  路  Source: GoogleContainerTools/skaffold

Expected behavior

When I make a change to my helm package, I expect skaffold to update my deployment image with it's generated tag

Actual behavior

tag stays at latest

Information

I use the standard helm image notation:

image:
  repository: localhost:5000/api
  tag: latest
  pullPolicy: Always
  • Skaffold version: 0.16.0
  • Operating system: osx
  • Contents of skaffold.yaml:
apiVersion: skaffold/v1alpha4
kind: Config
build:
  artifacts:
  - image: localhost:5000/api
deploy:
  helm:
    releases:
    - name: team-frontend-api
      chartPath: chart

adding

    imageStrategy:
        helm: {}

did not make a change

aredeploy deplohelm help wanted kinbug prioritp2

Most helpful comment

A helm get values myrelease shows that the image.repository and image.tag values are not passed when imageStrategy is set helm: {}

All 3 comments

A helm get values myrelease shows that the image.repository and image.tag values are not passed when imageStrategy is set helm: {}

Hi @Miouge1, can you try to add localhost:5000/api to the release?

deploy:
  helm:
    releases:
    - name: team-frontend-api
      chartPath: chart
      values: 
          image: localhost:5000/api

Also, we will now print a warning when an artifact is not used in the helm deployer: see #2782. I will close the original issue as I believe it is not a bug.
@Miouge1 if you still see an issue with the imageStrategy, please open a new one. Thank you!

Was this page helpful?
0 / 5 - 0 ratings