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

redpanda: remove ImageRepository schema validation #1297

Merged
merged 1 commit into from
May 22, 2024

Conversation

chrisseto
Copy link
Contributor

Previously, the image.repository field had a weak regex associated with it to prevent invalid values from being passed to Kubernetes. This accidentally prevented users from leveraging repositories that contained a specified port due to the : character.

Rather than extending the regex or replacing it with an appropriate URL regex, this commit opts to remove the validation entirely. This string is never parsed internally within the chart and Kubernetes itself will provide appropriate error messages if required.

Fixes #1292

Previously, the `image.repository` field had a weak regex associated with it to
prevent invalid values from being passed to Kubernetes. This accidentally
prevented users from leveraging repositories that contained a specified port
due to the `:` character.

Rather than extending the regex or replacing it with an appropriate URL regex,
this commit opts to remove the validation entirely. This string is never parsed
internally within the chart and Kubernetes itself will provide appropriate
error messages if required.

Fixes #1292
@chrisseto chrisseto merged commit 112531a into main May 22, 2024
41 checks passed
@chrisseto chrisseto deleted the chris/p/redpanda-remove-repo-regex branch May 22, 2024 16:55
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.

Allow setting a port within the "image.repository" value
2 participants