File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -131,3 +131,9 @@ spec:
131
131
{{- end }}
132
132
{{ include "cluster.bootstrap" . | nindent 2 }}
133
133
{{ include "cluster.backup" . | nindent 2 }}
134
+ {{- with .Values.cluster.projectedVolumeTemplate.sources }}
135
+ projectedVolumeTemplate :
136
+ sources :
137
+ {{- . | toYaml | nindent 8 -}}
138
+ {{ end }}
139
+
Original file line number Diff line number Diff line change @@ -302,6 +302,17 @@ cluster:
302
302
additionalLabels : {}
303
303
annotations : {}
304
304
305
+ # -- mounting custom files inside the Postgres pods through .spec.projectedVolumeTemplate
306
+ # See https://cloudnative-pg.io/documentation/current/cluster_conf/#projected-volumes
307
+ projectedVolumeTemplate : {}
308
+ # sources:
309
+ # - secret:
310
+ # name: sample-secret
311
+ # items:
312
+ # - key: tls.crt
313
+ # path: certificate/tls.crt
314
+ # - key: tls.key
315
+ # path: certificate/tls.key
305
316
306
317
backups :
307
318
# -- You need to configure backups manually, so backups are disabled by default.
You can’t perform that action at this time.
0 commit comments