k8s-image-swapper icon indicating copy to clipboard operation
k8s-image-swapper copied to clipboard

dryRun and --dry-run does not seem to work as expected

Open haghabozorgi opened this issue 3 years ago • 2 comments

We are testing the image swapper and have deployed it to our eks cluster, and the dryRun flag does not seem to be working (the actions are still taken; repo is created, image is uploaded, image ref is updated).

When we set the helm chart with

config:
  dryRun: true
  logLevel: debug
  logFormat: console

and/or set --dry-run=true as arg in deployment spec the actions are still executed.

haghabozorgi avatar Jan 28 '22 17:01 haghabozorgi

@haghabozorgi Are you still having this issue? Can you export the k8s-image-swapper configmap and add it?

estahn avatar Sep 07 '22 09:09 estahn

Yes, I can confirm: --dry-run is ineffective

mimmus avatar Oct 26 '22 10:10 mimmus