diff --git a/charts/nexus3/Chart.yaml b/charts/nexus3/Chart.yaml index 455eefef..f17ea94c 100644 --- a/charts/nexus3/Chart.yaml +++ b/charts/nexus3/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: nexus3 -version: 2.5.1 +version: 2.5.2 appVersion: 3.25.0 description: Sonatype Nexus OSS is an open source repository manager keywords: diff --git a/charts/nexus3/templates/config.yaml b/charts/nexus3/templates/config.yaml index 9233e5a5..235887b6 100644 --- a/charts/nexus3/templates/config.yaml +++ b/charts/nexus3/templates/config.yaml @@ -25,11 +25,13 @@ data: {{- end }} {{- end }} {{- with .Values.config.ldap }} + {{- if .enabled }} ldap.json: | {{- with omit . "password" }} {{- set . "password" "PASSWORD" | toJson | trim | nindent 4 }} {{- end }} {{- end }} + {{- end }} {{- range $index, $cleanup := .Values.config.cleanup }} {{ $index | add 1000 | toString | substr 1 -1 }}-cleanup.json: | {{- $cleanup | toJson | trim | nindent 4 }}