Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaniko "Flag --snapshotMode is deprecated. Use: --snapshot-mode" #9453

Closed
whyevenquestion1t opened this issue Jun 25, 2024 · 1 comment · Fixed by #9458
Closed

Kaniko "Flag --snapshotMode is deprecated. Use: --snapshot-mode" #9453

whyevenquestion1t opened this issue Jun 25, 2024 · 1 comment · Fixed by #9458

Comments

@whyevenquestion1t
Copy link

whyevenquestion1t commented Jun 25, 2024

Expected behavior

everything works and the flag is passed to kaniko image as an argument

Actual behavior

--snapshotMode is deprecated

Information

GoogleContainerTools/kaniko#2408 - they changed the naming for the same flag, so now when I use kaniko with skaffold, i am not able to provide desired configuration to Kaniko

The documentation still refers to the old flags as well, which is misleading: https://skaffold.dev/docs/references/yaml/#build-artifacts-kaniko-snapshotMode

  • Skaffold version:
  • Operating system:
  • Installed via:
  • Contents of skaffold.yaml:
<paste your skaffold.yaml here>

Steps to reproduce the behavior

  1. a clonable repository with the sample skaffold project
  2. skaffold <command>
  3. ...
@sherman-yang
Copy link

Why always change the naming? this caused to have to change thousands of repo configuration.

before changed the name from executor:debug-vx.xx.x to executor:vx.xx.x-debug.
this time again?

Hundreds of projects suddenly stalled just because their name was changed.

not sure whether you're artists or engineers.
Thank you for keeping me busy and ensuring I don't get laid off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants