You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
@@ -494,9 +493,6 @@ Set this flag to skip TLS certificate validation when pushing to a registry. It
494
493
495
494
Set this flag to skip TLS certificate validation when pulling from a registry. It is supposed to be used for testing purposes only and should not be used in production!
496
495
497
-
#### --additional-whitelist
498
-
Set this flag with a list of filepaths and Kaniko will ignore these paths during the build. Useful for improving build performance on large filesystems.
499
-
500
496
#### --snapshotMode
501
497
502
498
You can set the `--snapshotMode=<full (default), time>` flag to set how kaniko will snapshot the filesystem.
RootCmd.PersistentFlags().DurationVarP(&opts.CacheTTL, "cache-ttl", "", time.Hour*336, "Cache timeout in hours. Defaults to two weeks.")
150
145
RootCmd.PersistentFlags().VarP(&opts.InsecureRegistries, "insecure-registry", "", "Insecure registry using plain HTTP to push and pull. Set it repeatedly for multiple registries.")
151
146
RootCmd.PersistentFlags().VarP(&opts.SkipTLSVerifyRegistries, "skip-tls-verify-registry", "", "Insecure registry ignoring TLS verify to push and pull. Set it repeatedly for multiple registries.")
152
-
153
-
// We use nil as the default value so we can differentiate between the flag passed
154
-
// with an empty list and the flag not set
155
-
RootCmd.PersistentFlags().StringSliceVar(&additionalWhitelist, "additional-whitelist", []string{}, "Paths to whitelist. These will be ignored by kaniko to improve performance.")
156
147
}
157
148
158
149
// addHiddenFlags marks certain flags as hidden from the executor help text
0 commit comments