-
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
add omitempty to Secret in k8s VolumeSource #15158
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cdoern 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 |
LGTM |
@containers/podman-maintainers PTAL |
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
Will this change the output from |
the output will not show up unless the secret volume type is specified. Then it will show up as |
Changes LGTM |
The flake is hitting us hard at the moment
|
@edsantiago what does your data say on the flake? |
Secret was populating a generated kube as `null`. Add omitempty so that when the volume source is not a secret, we do not print unnecessary info resolves containers#15156 Signed-off-by: Charlie Doern <[email protected]>
The cross is not caused by this PR so forcing this through. |
Secret was populating a generated kube as
null
. Add omitemptyso that when the volume source is not a secret, we do not print unnecessary info
resolves #15156
Signed-off-by: Charlie Doern [email protected]
Does this PR introduce a user-facing change?