-
Notifications
You must be signed in to change notification settings - Fork 838
improving extraVolumeTags validation to follow EC2 tagging convention #2504
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
Conversation
Welcome @hrdkmshra! |
Hi @hrdkmshra. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
The change allows for any characters in the tags which is correct per EC2 documentation and also restricts the limits to the ones specified in the documentation as well. Manually tested these changes and got expected results: See results here Resolves #2491 /lgtm |
@mdzraf: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
A few requests before final approval:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/label tide/merge-method-squash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndrewSirenko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What is this PR about? / Why do we need it?
We need this PR to improve our
extraVolumeTags
validation to follow EC2 tagging convention as described hereThis PR addresses #2491
How was this change tested?
cd aws-ebs-csi-driver/charts/aws-ebs-csi-driver
helm template . -f test-file.yaml --debug | grep "extra-tag"
created 3 files
Does this PR introduce a user-facing change?
edit :
I made another commit : 9db1ad1 :
as I was educated that all i was trying to do is already being validated is being done at
validation.go
so no needmaxProperties
and checking for"pattern": "^([^aA]|[aA][^wW]|[aA][wW][^sS]|[aA][wW][sS][^:])"
so all the previous info in PR may not be of concern anymore.happy to learn more from my mistake.