postgres-operator/manifests
Christian Rohmann ece341d516
Allow pod environment variables to also be sourced from a secret (#946)
* Extend operator configuration to allow for a pod_environment_secret just like pod_environment_configmap

* Add all keys from PodEnvironmentSecrets as ENV vars (using SecretKeyRef to protect the value)

* Apply envVars from pod_environment_configmap and pod_environment_secrets before doing the global settings from the operator config. This allows them to be overriden by the user (via configmap / secret)

* Add ability use a Secret for custom pod envVars (via pod_environment_secret) to admin documentation

* Add pod_environment_secret to Helm chart values.yaml

* Add unit tests for PodEnvironmentConfigMap and PodEnvironmentSecret - highly inspired by @kupson and his very similar PR #481

* Added new parameter pod_environment_secret to operatorconfig CRD and configmap examples

* Add pod_environment_secret to the operationconfiguration CRD

Co-authored-by: Christian Rohmann <christian.rohmann@inovex.de>
2020-07-30 10:48:16 +02:00
..
api-service.yaml [UI] add tab for monthly costs per cluster (#796) 2020-02-19 12:58:24 +01:00
complete-postgres-manifest.yaml Bump v1.5.0 (#954) 2020-05-05 12:52:54 +02:00
configmap.yaml Allow pod environment variables to also be sourced from a secret (#946) 2020-07-30 10:48:16 +02:00
fake-teams-api.yaml remove new line from the token; 2017-05-12 16:38:42 +02:00
infrastructure-roles-configmap.yaml Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00
infrastructure-roles.yaml Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00
kustomization.yaml [UI] add tab for monthly costs per cluster (#796) 2020-02-19 12:58:24 +01:00
minimal-postgres-manifest.yaml Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
operator-service-account-rbac.yaml set event broadcasting to Infof and update rbac (#952) 2020-04-29 17:26:46 +02:00
operatorconfiguration.crd.yaml Allow pod environment variables to also be sourced from a secret (#946) 2020-07-30 10:48:16 +02:00
platform-credentials.yaml Pod Rolling update 2017-05-12 11:41:25 +02:00
postgres-operator.yaml Bump v1.5.0 (#954) 2020-05-05 12:52:54 +02:00
postgresql-operator-default-configuration.yaml Allow pod environment variables to also be sourced from a secret (#946) 2020-07-30 10:48:16 +02:00
postgresql.crd.yaml include volume in list of required fields (#1016) 2020-06-12 15:09:59 +02:00
standby-manifest.yaml fix minor issues in docs and manifests (#866) 2020-03-18 15:02:13 +01:00
user-facing-clusterroles.yaml postgres-pod clusterrole (#832) 2020-02-19 12:32:54 +01:00