Skip to content

Commit 6c4f9a0

Browse files
committed
ISSUE-668 templated clusterImageCatalogs
1 parent 0dcefbe commit 6c4f9a0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{- if .Values.clusterImageCatalog }}
2+
{{- range $clusterCatalog := .Values.clusterImageCatalog }}
3+
apiVersion: postgresql.cnpg.io/v1
4+
kind: ClusterImageCatalog
5+
metadata:
6+
name: {{ $clusterCatalog.name }}
7+
spec:
8+
images: {{ toYaml $clusterCatalog.images | nindent 4 }}
9+
---
10+
{{- end }}
11+
{{- end }}

0 commit comments

Comments
 (0)