diff --git a/charts/sonatype-nexus/Chart.yaml b/charts/sonatype-nexus/Chart.yaml index 48db51f..5c6ba89 100644 --- a/charts/sonatype-nexus/Chart.yaml +++ b/charts/sonatype-nexus/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: sonatype-nexus -version: 4.4.1 +version: 4.4.2 appVersion: 3.27.0 description: Sonatype Nexus is an open source repository manager keywords: diff --git a/charts/sonatype-nexus/templates/deployment-statefulset.yaml b/charts/sonatype-nexus/templates/deployment-statefulset.yaml index 09fa4f8..1bcd309 100644 --- a/charts/sonatype-nexus/templates/deployment-statefulset.yaml +++ b/charts/sonatype-nexus/templates/deployment-statefulset.yaml @@ -43,6 +43,9 @@ spec: labels: app: {{ template "nexus.name" . }} release: {{ .Release.Name }} + {{- if .Values.nexus.labels }} +{{ toYaml .Values.nexus.labels | indent 8 }} + {{- end }} spec: {{- if .Values.deployment.initContainers }} initContainers: @@ -344,6 +347,9 @@ spec: name: {{ template "nexus.fullname" . }}-data labels: {{ include "nexus.labels" . | indent 10 }} + {{- if .Values.nexus.labels }} +{{ toYaml .Values.nexus.labels | indent 10 }} + {{- end }} {{- if .Values.persistence.annotations }} annotations: {{ toYaml .Values.persistence.annotations | indent 10 }}