Adds the ability to use the secretKeyRef style of adding environment variables to kubernetes specs.
why
While this is already provided via envFrom in this chart, and the corresponding kubernetes features, envFrom doesn't allow you to specify the target environment variable name in your pods, nor does it allow you to use keys in your secrets that aren't valid environment variable names.
what
Adds the ability to use the
secretKeyRef
style of adding environment variables to kubernetes specs.why
While this is already provided via
envFrom
in this chart, and the corresponding kubernetes features, envFrom doesn't allow you to specify the target environment variable name in your pods, nor does it allow you to use keys in your secrets that aren't valid environment variable names.reference
example
Providing this value:
Would add the following to the template: