-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
add labels to diff command #90857
add labels to diff command #90857
Conversation
/sig cli |
/test pull-kubernetes-e2e-kind-ipv6 |
/test pull-kubernetes-kubemark-e2e-gce-big |
/assign @pwittrock |
We've discussed about this problem in #87840. I think this idea is fresh and I sort of like it. If we look at labels and annotations, my read is that it should be an annotation (please feel free to disagree). We could also possibly NOT make it a selector and just enforce the name directly: "hide-from-diff" (we should do much better than that and look at typical formats). Thanks, thoughts? |
We already have the concept of selectors in other |
OK I think there are two things here:
But we shouldn't block 1 because of 2. /lgtm Now, I would understand if you use that mechanism to hide secrets in the mean time, but I think we should have a better mechanism. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: apelisse, sethpollack 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 |
/retest |
Makes sense. I would still make 2 optional. |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
Thanks @apelisse |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Would like to run be able to filter out things like secrets from
kubectl diff
Does this PR introduce a user-facing change?: