16 lines
379 B
YAML
16 lines
379 B
YAML
{{- if .Values.secret.enabled -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "nexus.name" . }}-secret
|
|
labels:
|
|
{{ include "nexus.labels" . | indent 4 }}
|
|
{{- if .Values.nexus.extraLabels }}
|
|
{{- with .Values.nexus.extraLabels }}
|
|
{{ toYaml . | indent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
data:
|
|
{{ toYaml .Values.secret.data | indent 2 }}
|
|
{{- end}}
|