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

chore: Shorten del-pre-1-17-webhook-srv-cert hook name #521

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Sep 10, 2024

Description

With long enough release names (such as the ones used by Rancher), the Job metadata.name goes over the 63 chars.

Fix

Error: failed post-install: warning: Hook post-install kubewarden-controller/templates/post-install-hook.yaml failed: 1 error occurred:
	* Job.batch "rancher-kubewarden-controller-delete-pre-1-17-webhook-server-cert" is invalid: spec.template.labels: Invalid value: "rancher-kubewarden-controller-delete-pre-1-17-webhook-server-cert": must be no more than 63 characters

Test

Additional Information

Tradeoff

Potential improvement

With long enough release names (such as the ones used by Rancher),
the Job metadata.name goes over the 63 chars.

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
@viccuad viccuad self-assigned this Sep 10, 2024
@viccuad viccuad requested a review from a team as a code owner September 10, 2024 08:55
@viccuad
Copy link
Member Author

viccuad commented Sep 10, 2024

Merging, unrelated E2E test failure.

@viccuad viccuad merged commit 21023a1 into kubewarden:main Sep 10, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants