mirror of https://git.rancher.io/charts
16 lines
410 B
YAML
16 lines
410 B
YAML
{{- if .Values.controller.secret.enabled }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: neuvector-init
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
chart: {{ template "neuvector.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
data:
|
|
{{- range $key, $val := .Values.controller.secret.data }}
|
|
{{ $key }}: | {{ toYaml $val | b64enc | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|