podman/pkg
Urvashi Mohnani 4dc5a5b15d 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>
2022-01-10 05:51:19 -05:00
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Merge pull request #11538 from mtrmac/http-credentials 2022-01-06 16:50:12 +01:00
auth Make XRegistryAuthHeader and XRegistryConfigHeader private 2021-12-10 18:16:27 +01:00
autoupdate vendor c/common@main 2021-09-20 15:07:41 +02:00
bindings Merge pull request #11538 from mtrmac/http-credentials 2022-01-06 16:50:12 +01:00
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint container restore/import: store networks from db 2021-12-14 15:23:40 +01:00
copy support container to container copy 2021-07-27 15:32:23 +02:00
criu Error out early if system does not support pre-copy checkpointing 2021-12-23 09:51:38 +00:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Don't rename pod if container has the same name 2022-01-06 16:48:20 +01:00
env Generate kube should'd add podman default environment vars 2021-09-21 09:03:31 -04:00
errorhandling Handle HTTP 409 error messages properly for Pod actions 2021-11-02 12:28:52 +01:00
hooks [CI:DOCS] oci-hooks.5.md: fixup section in header 2021-10-10 08:16:42 -04:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils Globally replace http:// with https:// 2021-08-27 06:14:46 -04:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine Merge pull request #11454 from afbjorklund/virtfs-volumes 2022-01-06 21:04:12 +01:00
namespaces [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
netns standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps Merge pull request #12600 from rhatdan/external 2021-12-15 15:43:11 +01:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless Merge pull request #12429 from cdoern/scp 2022-01-05 17:50:37 +01:00
rootlessport libpod: deduplicate ports in db 2021-10-27 18:59:56 +02:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Don't add env if optional and not found 2022-01-10 05:51:19 -05:00
specgenutil Allow users to add host user accounts to /etc/passwd 2021-12-23 07:51:27 -05:00
systemd generate systemd: support entrypoint JSON strings 2021-12-08 15:51:23 +01:00
terminal Fix #11444: remote breaks with stdout redirection 2021-09-13 17:42:48 +03:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
util fix misleading comment regarding default value of cpu period [NO NEW TESTS NEEDED] 2022-01-03 14:32:02 +00:00