mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
`k8s.io/kubernetes/pkg/util/parsers.ParseImageName()` does not only parse the input, but also adds Docker-specific domain/org for images names that exclude these - "familiar" image names, such as "alpine", for example. While this means that previous records _are_ invalid, we should be able to do this change safely as if `imageRef` matches a known record, if we miss on the "image name" level, we will always request a new pull if the Pod does not present any credentials that are already recorded, or it will write the new "image name" record with the valid presented credentials. Signed-off-by: Stanislav Láznička <slznika@microsoft.com>