Add custom root ca certificate via configmap

Signed-off-by: Brant Evans <bevans@redhat.com>
This commit is contained in:
Brant Evans
2020-09-22 14:27:05 -07:00
parent 31cd36b768
commit 512da5a01c
5 changed files with 76 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ kubernetes_deployment_name }}-postgres-root-ca-cert
namespace: {{ kubernetes_namespace }}
data:
postgres_root_ca.crt: |
{{ postgres_root_ca_cert | indent(width=4) }}