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

Validate that object name adheres to RFC 1123 for flux create commands #2443

Merged
merged 2 commits into from Feb 16, 2022
Merged

Validate that object name adheres to RFC 1123 for flux create commands #2443

merged 2 commits into from Feb 16, 2022

Conversation

somtochiama
Copy link
Member

This pull request validates the name passed to flux create commands matches the [RFC 1123 Label Names].(https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names)

Signed-off-by: Somtochi Onyekwere somtochionyekwere@gmail.com

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
cmd/flux/create.go Outdated Show resolved Hide resolved
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
@stefanprodan stefanprodan added the enhancement New feature or request label Feb 16, 2022
@somtochiama somtochiama marked this pull request as ready for review February 16, 2022 10:15
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @somtochiama 🏅

@stefanprodan stefanprodan merged commit 568c536 into fluxcd:main Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants