diff options
author | Alban Bedel <albeu@free.fr> | 2021-03-26 11:13:05 +0100 |
---|---|---|
committer | Alban Bedel <albeu@free.fr> | 2021-03-28 15:03:29 +0200 |
commit | c59eb6f12b2e53819ef0c1ff561cc0df125398b2 (patch) | |
tree | 7bcb747209ea9e7d8ccc6c267f89def2ede3228c /libpod/util.go | |
parent | e5ff694855820e8bf5b7f17680c3dc6586241bdd (diff) | |
download | podman-c59eb6f12b2e53819ef0c1ff561cc0df125398b2.tar.gz podman-c59eb6f12b2e53819ef0c1ff561cc0df125398b2.tar.bz2 podman-c59eb6f12b2e53819ef0c1ff561cc0df125398b2.zip |
play kube: add support for env vars defined from secrets
Add support for secretRef and secretKeyRef to allow env vars to be set
from a secret. As K8S secrets are dictionaries the secret value must
be a JSON dictionary compatible with the data field of a K8S secret
object. The keys must consist of alphanumeric characters, '-', '_'
or '.', and the values must be base64 encoded strings.
Signed-off-by: Alban Bedel <albeu@free.fr>
Diffstat (limited to 'libpod/util.go')
0 files changed, 0 insertions, 0 deletions