From ca198ad7eafc7d86cb18fb44c624a6f7834043f1 Mon Sep 17 00:00:00 2001 From: tuunit Date: Fri, 18 Dec 2020 09:27:59 +0100 Subject: [PATCH 1/2] Always apply the environment variable for enabling or disabling chown operation on the full nexus data directory --- charts/sonatype-nexus/templates/deployment-statefulset.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/sonatype-nexus/templates/deployment-statefulset.yaml b/charts/sonatype-nexus/templates/deployment-statefulset.yaml index b743727..7233dd4 100644 --- a/charts/sonatype-nexus/templates/deployment-statefulset.yaml +++ b/charts/sonatype-nexus/templates/deployment-statefulset.yaml @@ -80,14 +80,12 @@ spec: {{- end }} env: {{ toYaml .Values.nexus.env | indent 12 }} + - name: NEXUS_DATA_CHOWN + value: {{ .Values.nexus.chownNexusData | quote }} {{- if .Values.nexus.context }} - name: NEXUS_CONTEXT value: {{ .Values.nexus.context }} {{- end }} -{{- if .Values.nexus.chownNexusData }} - - name: NEXUS_DATA_CHOWN - value: {{ .Values.nexus.chownNexusData | quote }} -{{- end }} resources: {{ toYaml .Values.nexus.resources | indent 12 }} From 65487c6c15452af52ac065d0ee2e100d7cb71c1a Mon Sep 17 00:00:00 2001 From: tuunit Date: Fri, 18 Dec 2020 09:31:08 +0100 Subject: [PATCH 2/2] version bump --- charts/sonatype-nexus/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sonatype-nexus/Chart.yaml b/charts/sonatype-nexus/Chart.yaml index 109a1b9..71edd47 100644 --- a/charts/sonatype-nexus/Chart.yaml +++ b/charts/sonatype-nexus/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: sonatype-nexus -version: 4.1.1 +version: 4.1.2 appVersion: 3.27.0 description: Sonatype Nexus is an open source repository manager keywords: