kaniko/integration
Fernando Giannetti c2445c76da
Allows to disable the fallback to the default registry on image pull (#2637)
* Allow to disable the fallback to the default registry on image pull

When one or more registry mirror(s) are deffined with the 'registry-mirror' argument, if none of those mirrors include the image,
the current behavior is to fallback to the default registry.
If a whitelist (or some image restriction) is applied at the mirror side, fallbacking to the default registry makes that restriction useless.
This new argument allows to skip the fallback and abort the build if the mirror rejects an image.
If it is not set, is completelly transparent.

* fix typo on command help
2023-07-26 13:05:37 -07:00
..
benchmark_fs refactor: Make CLI argument names consistent (#2084) 2022-08-22 09:10:11 -04:00
context Fixes a whitelist issue when untarring files in ADD commands. (#371) 2018-09-28 11:42:07 -07:00
dockerfiles Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00
dockerfiles-with-context Fix missing setuid flags on COPY --from=build operation (#2089) 2022-05-22 09:20:18 -04:00
ignore Re-add support for .dockerignore file 2018-12-10 15:20:25 -08:00
ignore_relative Fix #776 2019-10-03 17:53:14 +02:00
testdata Exit Code Propagation (#1655) 2021-06-01 10:43:49 -07:00
.dockerignore Re-add support for .dockerignore file 2018-12-10 15:20:25 -08:00
.gitignore fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
BUILD Update ggcr to pick up estargz and caching option (#1527) 2020-12-21 10:09:21 -08:00
benchmark_test.go refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -04:00
cleanup.go Pass bucket and repo as args to tests 2018-07-31 09:53:59 -07:00
cmd.go Bump github.com/docker/docker to latest release (#1866) 2022-01-14 15:58:32 -05:00
config.go refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -04:00
images.go Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
integration_test.go Allows to disable the fallback to the default registry on image pull (#2637) 2023-07-26 13:05:37 -07:00
integration_with_context_test.go Fix the e2e K8s test (#1842) 2021-12-17 14:43:38 -05:00
integration_with_stdin_test.go fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
k8s-job.yaml Fix the e2e K8s test (#1842) 2021-12-17 14:43:38 -05:00
k8s_test.go fix: getUIDandGID is able to resolve non-existing users and groups (#2106) 2022-07-12 10:21:37 -04:00
tar.go refactor: simpler local integration tests (#2110) 2022-06-14 13:38:01 -04:00
tar.tar chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00