-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kustomize edit set image should correctly parse both tag and digest #4713
Comments
I'm able to reproduce the issue. IIUC, the correct output should be
There is some parsing code from #4406 that we can probably reuse to resolve this issue. /triage accepted |
@natasha41575: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Support edit set image with both tag and digest
/assign |
Heyy @mgsh are you still working on this issue? |
Hi @CIPHERTron, I have submitted a PR for it #4714 |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@natasha41575 Is there a plan to fix this issue? |
Is this already fixed @natasha41575 |
/remove-lifecycle stale |
with #5234 merged, I thing this could be closed. I don't know in what version and when it will be released though. |
kustomize edit set image org/repo:tag@sha256:digest
is not parsed correctly.Currently it results in:
If you leave out the digest, the tag gets parsed correctly, but with the digest, the tag is assumed to be part of the image name, which is incorrect.
I would expect them to parse correctly when both supplied.
It's desirable to specify them both to facilitate security requirements as well as human readability, even if the tag is usually ignored by container runtimes when the digest is specified.
The text was updated successfully, but these errors were encountered: