Open daniel-anova opened 1 month ago
What happened:
When there a library image with docker.io domain defined the replacement fails.
What you expected to happen:
The image to be replaced correctly like library images without docker.io domain defined
How to reproduce it (as minimally and precisely as possible):
define an image as docker.io/bash:latest
docker.io/bash:latest
set replacement rule for docker.io and docker.io/library
docker.io
docker.io/library
Anything else we need to know?:
I've submitted a PR with a fix
Environment:
kubectl version
What happened:
When there a library image with docker.io domain defined the replacement fails.
What you expected to happen:
The image to be replaced correctly like library images without docker.io domain defined
How to reproduce it (as minimally and precisely as possible):
define an image as
docker.io/bash:latest
set replacement rule for
docker.io
anddocker.io/library
Anything else we need to know?:
I've submitted a PR with a fix
Environment:
kubectl version
): `Client Version: v1.29.7; Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3; Server Version: v1.29.7