-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Setting Helm deployer imageStrategy.helm does not have any effect #2681
Copy link
Copy link
Closed
Labels
area/deploydeploy/helmkind/documentationkind/feature-requestpriority/p1High impact feature/bug.High impact feature/bug.
Description
Expected behavior
Using helm.ImageStrategy.helm: {} should set the right repository name and tag for image.repository and image.tag when using the helm deployer
Actual behavior
It appears that #826 should have closed #360 . However, using helm.ImageStrategy.helm: {} does not work at all because neither image.repository nor image.tag are being overwritten - they just keep their defaults from the original values.yaml file.
Seeing the skaffold.yaml file from below, I would expect:
consoleto usegcr.io/ory-artifacts/console:<some-hash>-dirtyoathkeeperto usegcr.io/ory-artifacts/oathkeeper:<some-hash>-dirty
However, that's not the case - the default values are being used instead:
consoleusesgcr.io/ory-artifacts/console:stableoathkeeperusesoryd/oathkeeper:v0.17.1-beta.1
Information
- Skaffold version: 0.36.0
- Operating system: macOS
- Contents of skaffold.yaml:
apiVersion: skaffold/v1beta13
kind: Config
build:
local:
useDockerCLI: false
artifacts:
# The order of these needs to stay the same
-
image: gcr.io/ory-artifacts/console
context: console
docker:
dockerfile: Dockerfile-skaffold
-
image: gcr.io/ory-artifacts/oathkeeper
context: skaffold/oathkeeper
docker:
dockerfile: Dockerfile
deploy:
helm:
flags:
global: ["--tiller-namespace","backoffice"]
releases:
-
name: console
chartPath: helm/charts/console
namespace: backoffice
recreatePods: true
valuesFiles:
- skaffold/console/values.yaml
imageStrategy:
helm: {}
-
name: oathkeeper
chartPath: ory/oathkeeper
namespace: backoffice
remote: true # required for remote charts
skipBuildDependencies: true # required for remote charts
recreatePods: true
valuesFiles:
- skaffold/oathkeeper/values.yaml
imageStrategy:
helm: {}Steps to reproduce the behavior
Not possible at the moment but happy to provide something if it speeds up the process.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/deploydeploy/helmkind/documentationkind/feature-requestpriority/p1High impact feature/bug.High impact feature/bug.