15 lines
380 B
YAML
15 lines
380 B
YAML
{{- if .Values.config.enabled -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "nexus.name" . }}-conf
|
|
labels:
|
|
{{ include "nexus.labels" . | indent 4 }}
|
|
{{- if .Values.nexus.extraLabels }}
|
|
{{- with .Values.nexus.extraLabels }}
|
|
{{ toYaml . | indent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
data:
|
|
{{ toYaml .Values.config.data | indent 2 }}
|
|
{{- end }} |