Skip to content

Commit 10b9f5e

Browse files
plesoun-steinpha91
authored andcommitted
add assert for pojected volume
Signed-off-by: Tomas Steiner <[email protected]>
1 parent 7b75da1 commit 10b9f5e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

charts/cluster/templates/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ spec:
138138
{{- with .Values.cluster.projectedVolumeTemplate.sources }}
139139
projectedVolumeTemplate:
140140
sources:
141-
{{- . | toYaml | nindent 8 -}}
141+
{{- . | toYaml | nindent 6 -}}
142142
{{ end }}
143143

charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,11 @@ spec:
109109
metadata:
110110
annotations:
111111
my-annotation: my-service-account
112+
projectedVolumeTemplate:
113+
sources:
114+
- secret:
115+
items:
116+
- key: ca.crt
117+
path: crt/ca-01.pem
118+
name: ca-secret
119+

0 commit comments

Comments
 (0)