kaniko/pkg
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
..
buildcontext use aws-sdk-go-v2 (#2550) 2023-06-07 14:54:30 -07:00
cache feat: cache dockerfile images through warmer (#2499) 2023-06-21 12:00:22 -07:00
commands Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
config Allows to disable the fallback to the default registry on image pull (#2637) 2023-07-26 13:05:37 -07:00
constants Fix fs_util tests failing on systems with /tmp mountpoint (#2583) 2023-06-19 12:01:20 -07:00
creds Add GitLab CI credentials helper (#2040) 2022-04-11 13:13:47 -04:00
dockerfile Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
executor Fix fs_util tests failing on systems with /tmp mountpoint (#2583) 2023-06-19 12:01:20 -07:00
fakes refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
filesystem chore: remove duplicate word in comments (#2232) 2022-08-30 06:02:39 -04:00
image Allows to disable the fallback to the default registry on image pull (#2637) 2023-07-26 13:05:37 -07:00
logging Add timestamp to logs 2020-04-23 13:40:47 +02:00
mocks/go-containerregistry/mockv1 rename mock pkg for lint 2020-01-17 14:59:14 -08:00
snapshot Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00
timing Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
util chore: add debug line to RedoHasher (#2591) 2023-06-28 14:13:35 -04:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00