kubernetes/pkg
Sascha Grunert d088372d98
Add test for GetImageRef content-based deduplication
Adds TestGetImageRefReturnsImageIdNotRepoDigest to verify that GetImageRef
returns Image.Id instead of RepoDigests. This ensures content-based
deduplication where the same image pulled from different registries is
treated as identical content rather than separate images.

The test prevents regression of the issue fixed in the revert of cb011623c8
where using RepoDigests[0] caused location-dependent identity
(registry.io/image@sha256:...) instead of content-based identity
(sha256:...), breaking deduplication and creating separate pull records
for identical image content.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2026-01-28 09:24:10 +01:00
..
api feat(admissionregistration): enable declarative validation wiring and require ValidationActions 2026-01-24 03:46:24 -08:00
apis feat(admissionregistration): enable declarative validation wiring and require ValidationActions 2026-01-24 03:46:24 -08:00
auth wire in ctx to rbac plugins 2024-09-17 20:04:02 +03:00
capabilities remove import doc comments 2024-12-02 16:59:34 +01:00
certauthorization Pod Certificates: Basic implementation 2025-07-21 21:49:57 +00:00
client test: code coverage increase for kubelet_client 2025-06-25 13:39:12 +08:00
cluster/ports remove import doc comments 2024-12-02 16:59:34 +01:00
controller Merge pull request #136040 from petern48/error-level-logs 2026-01-28 03:27:48 +05:30
controlplane Merge pull request #135597 from alvaroaleman/plumb-context 2026-01-13 02:15:00 +05:30
credentialprovider Migrate pkg/credentialprovider to structured logging 2025-08-11 16:41:55 -07:00
features Merge pull request #136544 from aramase/aramase/c/rm_structured_authz_fg 2026-01-27 21:43:52 +05:30
fieldpath remove import doc comments 2024-12-02 16:59:34 +01:00
generated Merge pull request #136441 from kannon92/remove-alpha-api-dra 2026-01-27 20:16:00 +05:30
kubeapiserver Drop StructuredAuthorizationConfiguration feature gate 2026-01-26 11:35:39 -06:00
kubectl React to removing autoscaling v2beta1 and v2beta2 2025-12-05 11:59:30 +01:00
kubelet Add test for GetImageRef content-based deduplication 2026-01-28 09:24:10 +01:00
kubemark remove portworx from in-tree volume plugins 2026-01-19 11:35:30 +08:00
printers Use latest API for column definitions in printers 2026-01-08 11:54:28 +01:00
probe build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
proxy Merge pull request #136292 from atombrella/feature/modernize_plusbuild 2026-01-26 19:05:59 +05:30
quota/v1 locked the feature-gate VolumeAttributesClass to default (true) and switch storage version from v1beta1 to v1 2025-12-18 15:59:33 +08:00
registry feat(admissionregistration): enable declarative validation wiring and require ValidationActions 2026-01-24 03:46:24 -08:00
routes build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
scheduler Add logging error when UpdatePod finds no existing PodGroup with the pod to update 2026-01-27 11:42:03 +00:00
security build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
securitycontext Merge pull request #131018 from saschagrunert/default-masked-paths 2025-07-15 10:56:23 -07:00
serviceaccount Service account controller: Wire through context 2025-12-04 19:30:55 -05:00
util build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
volume Merge pull request #136202 from RomanBednar/fix-csi-plugin-backoff 2026-01-27 15:47:48 +05:30
windows/service build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
.import-restrictions restrict the use of scheme internally to client-go 2025-05-16 08:48:39 +00:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00