diff --git a/packages/system/backup-controller/templates/crds.yaml b/packages/system/backup-controller/templates/crds.yaml index 2cf3183b..32b438c1 100644 --- a/packages/system/backup-controller/templates/crds.yaml +++ b/packages/system/backup-controller/templates/crds.yaml @@ -1,4 +1,4 @@ -{{- range $path, $_ := .Files.Glob "definitions/*" }} +{{- range $path, $_ := .Files.Glob "definitions/*.yaml" }} --- {{ $.Files.Get $path }} {{- end }} diff --git a/packages/system/backup-controller/templates/deployment.yaml b/packages/system/backup-controller/templates/deployment.yaml index a8c3d07e..f23f3f81 100644 --- a/packages/system/backup-controller/templates/deployment.yaml +++ b/packages/system/backup-controller/templates/deployment.yaml @@ -37,7 +37,7 @@ spec: {{- end }} ports: - name: metrics - containerPort: {{ split ":" .Values.backupController.metrics.bindAddress | mustLast }} + containerPort: {{ splitList ":" .Values.backupController.metrics.bindAddress | mustLast }} - name: health containerPort: 8081 readinessProbe: