-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
Rejecting valid Environment Variable Names #47 #78910
Conversation
Hi @pswica. Thanks for your PR. I'm waiting for a kubernetes 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/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pswica The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/priority backlog |
/cc @apelisse |
Yeah, this should be mentioned in the kubectl issue, but there is already a long discussion about that somewhere else. Let me find you a reference. |
xref #69415 (comment) |
Thanks a lot @liggitt, everyone working actively on Kubernetes has been so helpful in getting me started and understanding a lot of the nuances when changing source code. I will say this. I have tested what happens to resources that were created with a colon ':' and are then rolled back. I did this (with persistent etcd thanks to @dims) by
Here is what I found:
This leads me to think that, perhaps, this change could be introduced by simply providing a warning to the user when they make a resource with a colon in an environment name:
Perhaps first expand the validation (as in your 1a, b) and then Error out saying that allowing colons will happens soon. Then in the 1.X release can add the warning. |
Even not being able to scale the resource would be reason enough to need to phase this in, but there are additional scenarios that would break:
Relaxing validation on a GA API must be phased in over two releases as described |
/assign @apelisse |
@fedebongio |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
thanks for the PR. let's coordinate on desired approach in #53201 (comment) before proceeding (and be aware there are other PRs trying to address the same issue) |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. 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/test-infra repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Allows using ':' chars in
kubectl --env
, e.g.kubectl run myname --image=myimage:86 --port=80 --env="ConnectionStrings:DefaultConnection=Data Source=tcp:mySqlServer,1433;Initial Catalog=myDB;User Id=myUser;Password=mypassword;":
Which issue(s) this PR fixes:
Fixes kubernetes/kubectl#47
Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?: