summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/kube/volume.go
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2022-01-06 07:56:20 -0500
committerUrvashi Mohnani <umohnani@redhat.com>2022-01-10 05:51:19 -0500
commit4dc5a5b15db4884101fc85a543ca356f3346ef6a (patch)
tree4eb665346a54479265c667127fa2794058a387de /pkg/specgen/generate/kube/volume.go
parent6ed2c639ac614b8292660fda604d3a8f6cbb42b7 (diff)
downloadpodman-4dc5a5b15db4884101fc85a543ca356f3346ef6a.tar.gz
podman-4dc5a5b15db4884101fc85a543ca356f3346ef6a.tar.bz2
podman-4dc5a5b15db4884101fc85a543ca356f3346ef6a.zip
Don't add env if optional and not found
If the pod yaml has env from secret and condifg map but they are optional and the secret cannot be found, don't add the env key as well as the env value will not be found. Matches behavior with k8s. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'pkg/specgen/generate/kube/volume.go')
0 files changed, 0 insertions, 0 deletions