fix(common): always force a rename and recreate of cert-secrets on update (#1422)
* fix(common): always force a rename and recreate of cert-secrets on update * hmm * adapt tests
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 8.9.4
|
||||
version: 8.9.5
|
||||
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
- {{ tpl . $ | quote }}
|
||||
{{- end }}
|
||||
{{- if $tlsValues.scaleCert }}
|
||||
secretName: {{ ( printf "%v-%v-%v-%v-%v" $ingressName "tls" $index "ixcert" $tlsValues.scaleCert ) }}
|
||||
secretName: {{ ( printf "%v-%v-%v-%v-%v-%v" $ingressName "tls" $index "ixcert" $tlsValues.scaleCert $.Release.Revision ) }}
|
||||
{{- else if .secretName }}
|
||||
secretName: {{ tpl .secretName $ | quote}}
|
||||
{{- end }}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ $secretName }}
|
||||
name: {{ $secretName }}-{{ .Release.Revision }}
|
||||
labels: {{ include "common.labels" . | nindent 4 }}
|
||||
type: kubernetes.io/tls
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user