From 86e75468d8e08beccc308009e1e2c7fc33f842c2 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Fri, 8 Dec 2023 02:08:00 +0200 Subject: [PATCH] typos --- .../templates/class/cert-manager/_certificate.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/common/templates/class/cert-manager/_certificate.tpl b/library/common/templates/class/cert-manager/_certificate.tpl index 12f00ed2..d4a41687 100644 --- a/library/common/templates/class/cert-manager/_certificate.tpl +++ b/library/common/templates/class/cert-manager/_certificate.tpl @@ -32,25 +32,25 @@ metadata: spec: secretName: {{ $objectData.name }} dnsNames: - {{- range $h := $objectData.hosts }} - - {{ tpl $h $rootCtx }} - {{- end }} + {{- range $h := $objectData.hosts }} + - {{ tpl $h $rootCtx }} + {{- end }} privateKey: algorithm: ECDSA size: 256 rotationPolicy: Always issuerRef: - name: {{ tpl $objectData.certificatesIssuerName $rootCtx }} + name: {{ tpl $objectData.certificateIssuer $rootCtx }} kind: ClusterIssuer group: cert-manager.io {{- if $objectData.certificateSecretTemplate }} secretTemplate: - {{- $labels := (mustMerge ($objectData.certificateSercretTemplate.labels | default dict) (include "tc.v1.common.lib.metadata.allLabels" $rootCtx | fromYaml)) -}} + {{- $labels := (mustMerge ($objectData.certificateSecretTemplate.labels | default dict) (include "tc.v1.common.lib.metadata.allLabels" $rootCtx | fromYaml)) -}} {{- with (include "tc.v1.common.lib.metadata.render" (dict "rootCtx" $rootCtx "labels" $labels) | trim) }} labels: {{- . | nindent 6 }} {{- end -}} - {{- $annotations := (mustMerge ($objectData.certificateSercretTemplate.annotations | default dict) (include "tc.v1.common.lib.metadata.allAnnotations" $rootCtx | fromYaml)) -}} + {{- $annotations := (mustMerge ($objectData.certificateSecretTemplate.annotations | default dict) (include "tc.v1.common.lib.metadata.allAnnotations" $rootCtx | fromYaml)) -}} {{- with (include "tc.v1.common.lib.metadata.render" (dict "rootCtx" $rootCtx "annotations" $annotations) | trim) }} annotations: {{- . | nindent 6 }}