kaniko/pkg/snapshot
Andreas Fleig 0d925dd651
Don't write whiteout files to directories that were replaced with files or links (#2590)
If a non-empty directory gets replaced with something other than a
directory (e.g. file or symlink), the files in that directory also get
deleted. However, there should not be any whiteout files for them in the
layer. If there were, the resulting tar file would not be extractable.

Fixes #2308
2023-06-22 10:45:47 -07:00
..
layered_map.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
layered_map_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
snapshot.go Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00
snapshot_test.go Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00