diff --git a/charts/burpsuite/Chart.yaml b/charts/burpsuite/Chart.yaml index e4fd2f9..502f2d7 100644 --- a/charts/burpsuite/Chart.yaml +++ b/charts/burpsuite/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: burpsuite description: Scan it all. With the enterprise-enabled dynamic web vulnerability scanner. type: application -version: 0.0.6 +version: 0.0.7 kubeVersion: ">=1.24.0-0" keywords: - burpsuite diff --git a/charts/burpsuite/templates/_helpers.tpl b/charts/burpsuite/templates/_helpers.tpl index 46ebc51..c3c05d2 100644 --- a/charts/burpsuite/templates/_helpers.tpl +++ b/charts/burpsuite/templates/_helpers.tpl @@ -84,7 +84,7 @@ Common labels {{- define "burpsuite.labels" -}} helm.sh/chart: {{ include "burpsuite.chart" . }} {{ include "burpsuite.selectorLabels" . }} -app.kubernetes.io/version: {{ (include "burpsuite.enterprise.version" .) | quote }} +app.kubernetes.io/version: {{ (include "burpsuite.enterprise.version" .) | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end }} @@ -101,7 +101,7 @@ Pod labels */}} {{- define "burpsuite.pod.labels" -}} {{ include "burpsuite.selectorLabels" . }} -app.kubernetes.io/version: {{ (include "burpsuite.enterprise.version" .) | quote }} +app.kubernetes.io/version: {{ (include "burpsuite.enterprise.version" .) | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end }}