-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix cert update by making certificate fields mutually exclusive #663
Fix cert update by making certificate fields mutually exclusive #663
Conversation
2bb3042
to
d53572d
Compare
@mpanchajanya Do you know if the |
Yea I'm not sure about that. Tagging @prkalle he might have more insights on this feature |
If user use |
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. Thanks!
So should they be removed from the configuration? |
@prkalle Any thoughts ? |
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.
Just the comments to fix.
LGTM after that
d53572d
to
4b232f8
Compare
We have discussed this verbally and it was not clear if the ca-cert could end up being used if an insecure connection was redirected by a proxy to an https one. So, to avoid limiting the user's options, we decided to allow setting |
(cherry picked from commit 4e35d78)
(cherry picked from commit 4e35d78)
What this PR does / why we need it
tanzu config cert update
command when ca-cert and skip-cert-verify being mutually exclusive i.e. only one of the option should be setExamples of valid and invalid usages: -
Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
-- Added unit tests
Release note
Additional information
Special notes for your reviewer