From 6f83afbd63ee8243241fb808117fd67a2b997ac0 Mon Sep 17 00:00:00 2001 From: Gregory May Date: Fri, 23 Mar 2018 02:28:58 -0700 Subject: [PATCH] fix to yaml parse error causing Helm check failure (#4468) Error: YAML parse error on harbor/templates/registry/registry-ss.yaml: error converting YAML to JSON: yaml: line 63: did not find expected key --- contrib/helm/harbor/templates/registry/registry-ss.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/helm/harbor/templates/registry/registry-ss.yaml b/contrib/helm/harbor/templates/registry/registry-ss.yaml index 0f961fece..663394dd2 100644 --- a/contrib/helm/harbor/templates/registry/registry-ss.yaml +++ b/contrib/helm/harbor/templates/registry/registry-ss.yaml @@ -61,7 +61,7 @@ spec: volumeClaimTemplates: - metadata: name: "registry-data" - labels: + labels: {{ include "harbor.labels" . | indent 8 }} spec: accessModes: [{{ .Values.registry.volumes.data.accessMode | quote }}] @@ -76,4 +76,4 @@ spec: requests: storage: {{ .Values.registry.volumes.data.size | quote }} {{- end -}} - {{- end -}} \ No newline at end of file + {{- end -}}