mirror of https://git.rancher.io/charts
16 lines
459 B
YAML
16 lines
459 B
YAML
{{- if .Values.exporter.enabled -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: neuvector-prometheus-exporter-pod-secret
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
chart: {{ template "neuvector.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
type: Opaque
|
|
data:
|
|
CTRL_USERNAME: {{ .Values.exporter.CTRL_USERNAME | b64enc | quote }}
|
|
CTRL_PASSWORD: {{ .Values.exporter.CTRL_PASSWORD | b64enc | quote }}
|
|
{{- end }}
|