mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: replace + symbol with _ symbol on the Chart.Version field (#5591)
* fix: replace + symbol with _ symbol on the Chart.Version field Signed-off-by: Jacob Lorenzen <jacob@lorenzen.me> * chore: remove truncate part Signed-off-by: Jacob Lorenzen <jacob@lorenzen.me> Signed-off-by: Jacob Lorenzen <jacob@lorenzen.me>
This commit is contained in:
parent
4d4ec164dc
commit
81fb0caf1b
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ helm.sh/chart: {{ template "kyverno.chart" . }}
|
|||
app.kubernetes.io/component: kyverno
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/part-of: {{ template "kyverno.name" . }}
|
||||
app.kubernetes.io/version: "{{ .Chart.Version }}"
|
||||
app.kubernetes.io/version: "{{ .Chart.Version | replace "+" "_" }}"
|
||||
{{- if .Values.customLabels }}
|
||||
{{ toYaml .Values.customLabels }}
|
||||
{{- end }}
|
||||
|
@ -48,7 +48,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/name: {{ template "kyverno.name" . }}-test
|
||||
app.kubernetes.io/part-of: {{ template "kyverno.name" . }}
|
||||
app.kubernetes.io/version: "{{ .Chart.Version }}"
|
||||
app.kubernetes.io/version: "{{ .Chart.Version | replace "+" "_" }}"
|
||||
helm.sh/chart: {{ template "kyverno.chart" . }}
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue