Skip to content
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

[BACKPORT] Allow @ character in argument sanitizer #21

Merged
merged 2 commits into from Nov 26, 2021

Conversation

aufi
Copy link
Collaborator

@aufi aufi commented Nov 26, 2021

2.2 backport of #20

It is a common practice to use SHA256 signature of container
image names, like registry.example.com/app/web@sha256:.
The argument sanitizer doesn't allow the @ character, so these
image names will be truncated and will fail to be pulled.

This change adds the @ character in the accepted characters.

aufi and others added 2 commits November 11, 2021 13:55
Rename DEFAULT_IMAGE option to MUST_GATHER_IMAGE
It is a common practice to use SHA256 signature of container
image names, like `registry.example.com/app/web@sha256:<sig>`.
The argument sanitizer doesn't allow the `@` character, so these
image names will be truncated and will fail to be pulled.

This change adds the `@` character in the accepted characters.

Signed-off-by: Fabien Dupont <fabiendupont@pm.me>
@aufi aufi changed the title [BACKPORT] Relax sanitize arg [BACKPORT] Allow @ character in argument sanitizer Nov 26, 2021
@aufi
Copy link
Collaborator Author

aufi commented Nov 26, 2021

Test failure is unrelated, merging 👍

@aufi aufi merged commit 5eeaddd into kubev2v:release-v2.2.0 Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants