Skip to content

Commit

Permalink
Use --snapshot-mode/--tar-path instead of --snapshotMode/--tarPath
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaSchwarze0 committed Aug 21, 2023
1 parent 224aea7 commit 14e76d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/buildstrategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ spec:
- --dockerfile=$(build.dockerfile)
- --context=$(params.shp-source-context)
- --destination=$(params.shp-output-image)
- --snapshotMode=redo
- --snapshot-mode=redo
- --push-retry=3
resources:
limits:
Expand Down Expand Up @@ -686,7 +686,7 @@ spec:
- --dockerfile=$(build.dockerfile)
- --context=$(params.shp-source-context)
- --destination=$(params.shp-output-image)
- --snapshotMode=redo
- --snapshot-mode=redo
- --push-retry=3
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ spec:
- $(params.shp-source-context)
- --destination
- $(params.shp-output-image)
- --snapshotMode
- --snapshot-mode
- redo
- --no-push
- --tarPath
- ----tar-path
- $(params.shp-output-directory)/image.tar
# https://github.com/GoogleContainerTools/kaniko/issues/2164
- --ignore-path
Expand Down
4 changes: 2 additions & 2 deletions samples/buildstrategy/kaniko/buildstrategy_kaniko_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ spec:
- $(params.shp-source-context)
- --destination
- $(params.shp-output-image)
- --snapshotMode
- --snapshot-mode
- redo
- --no-push
- --tarPath
- ----tar-path
- $(params.shp-output-directory)/image.tar
# https://github.com/GoogleContainerTools/kaniko/issues/2164
- --ignore-path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ spec:
- /gen-source
- --destination
- $(params.shp-output-image)
- --snapshotMode
- --snapshot-mode
- redo
- --no-push
- --tarPath
- ----tar-path
- $(params.shp-output-directory)/image.tar
# https://github.com/GoogleContainerTools/kaniko/issues/2164
- --ignore-path
Expand Down
6 changes: 3 additions & 3 deletions test/clusterbuildstrategy_samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ spec:
- --dockerfile=$(build.dockerfile)
- --context=$(params.shp-source-context)
- --destination=$(params.shp-output-image)
- --snapshotMode=redo
- --snapshot-mode=redo
- --push-retry=3
resources:
limits:
Expand Down Expand Up @@ -207,7 +207,7 @@ spec:
- --dockerfile=$(build.dockerfile)
- --context=$(params.shp-source-context)
- --destination=$(params.shp-output-image)
- --snapshotMode=redo
- --snapshot-mode=redo
- --push-retry=3
resources:
limits:
Expand Down Expand Up @@ -325,7 +325,7 @@ spec:
- --dockerfile=$(build.dockerfile)
- --context=$(params.shp-source-root)
- --destination=$(params.shp-output-image)
- --snapshotMode=redo
- --snapshot-mode=redo
- --push-retry=3
resources:
limits:
Expand Down

0 comments on commit 14e76d7

Please sign in to comment.