File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -135,3 +135,9 @@ spec:
135135 {{- end }}
136136 {{ include "cluster.bootstrap" . | nindent 2 }}
137137 {{ include "cluster.backup" . | nindent 2 }}
138+ {{- with .Values.cluster.projectedVolumeTemplate.sources }}
139+ projectedVolumeTemplate :
140+ sources :
141+ {{- . | toYaml | nindent 8 -}}
142+ {{ end }}
143+
Original file line number Diff line number Diff line change @@ -368,6 +368,17 @@ cluster:
368368 additionalLabels : {}
369369 annotations : {}
370370
371+ # -- mounting custom files inside the Postgres pods through .spec.projectedVolumeTemplate
372+ # See https://cloudnative-pg.io/documentation/current/cluster_conf/#projected-volumes
373+ projectedVolumeTemplate : {}
374+ # sources:
375+ # - secret:
376+ # name: sample-secret
377+ # items:
378+ # - key: tls.crt
379+ # path: certificate/tls.crt
380+ # - key: tls.key
381+ # path: certificate/tls.key
371382
372383backups :
373384 # -- You need to configure backups manually, so backups are disabled by default.
You can’t perform that action at this time.
0 commit comments