secrets:
default:
enabled: true
mountPath: /secret-default
annotations:
test.secret.annotation: value
labels:
test_label: value
env:
SECRET_ENV_NAME: ENV_VALUE
files:
secret.test.txt: |-
some text
This update puts all configMapRef and secretRef parameters into just one envFrom section
what
envFrom
section in_helpers.tpl
why
envFrom
is a list ofEnvFromSource
and there could be only oneenvFrom
in a Container spec (possibly with manyconfigMapRef
andsecretRef
parameters)envFrom
sections, which is not correct behavior and will fail if we use these two configs at the same time:and
configMapRef
andsecretRef
parameters into just oneenvFrom
section