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

validators: change label validation to DNS1123 subdomain #152

Merged
merged 3 commits into from
Apr 9, 2018
Merged

validators: change label validation to DNS1123 subdomain #152

merged 3 commits into from
Apr 9, 2018

Conversation

appilon
Copy link
Contributor

@appilon appilon commented Apr 6, 2018

Fix #87

@appilon appilon changed the title validators: change label validation to DNS1123 subdomain [WIP] validators: change label validation to DNS1123 subdomain Apr 6, 2018
@appilon appilon changed the title [WIP] validators: change label validation to DNS1123 subdomain validators: change label validation to DNS1123 subdomain Apr 7, 2018
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

Thanks :shipit:

data {
".start" = "foo"
"mid.dle" = "foo"
"end." = "foo"
Copy link
Member

@radeksimko radeksimko Apr 9, 2018

Choose a reason for hiding this comment

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

I don't think we run the validation function for data here, so these three examples would be better exercised perhaps in 3 separate kubernetes_secrets with appropriate metadata name.

Not a big deal though as we already exercise dot in the middle of the string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will remove the data from the config since it serves no purpose in the test

@appilon appilon merged commit 9b42a22 into hashicorp:master Apr 9, 2018
@ghost ghost locked and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubernetes_secret should allow the . character in the name
2 participants