-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Kube Play: fix the handling of the optional field of SecretVolumeSource #16637
Conversation
17585f7
to
062ebbc
Compare
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.
Changes LGTM, thanks!
Can you add a test, @ygalblum?
@vrothberg I've already started working on them. I'll add them to the PR later today |
062ebbc
to
1ca8513
Compare
Looks like this needs to be gofmt |
LGTM |
1ca8513
to
8148c0e
Compare
If the secret exists, set optional in the KubeVolume to false to always use it If the secret does not exist, if optional, set the same in the KubeVolume to skip it, otherwise fail Add e2e tests Signed-off-by: Ygal Blum <[email protected]>
8148c0e
to
9a6b701
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, ygalblum 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 |
@rhatdan All tests passed, waiting for you to remove the hold |
@ygalblum You can remove the hold yourself, with |
If the secret exists, set optional in the KubeVolume to false to always use it
If the secret does not exist, if optional, set the same in the KubeVolume to skip it, otherwise fail
Signed-off-by: Ygal Blum [email protected]
Does this PR introduce a user-facing change?
No
Fixes #16636