rancher-partner-charts/charts/f5/f5-bigip-ctlr/0.0.3101/templates/f5-bigip-ctlr-secrets.yaml

19 lines
691 B
YAML

{{- if .Values.bigip_secret.create -}}
apiVersion: v1
kind: Secret
metadata:
name: f5-bigip-ctlr-login
namespace: {{ template "f5-bigip-ctlr.namespace" . }}
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/name: {{ template "f5-bigip-ctlr.name" . }}
app: {{ template "f5-bigip-ctlr.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
type: Opaque
data:
username: {{ .Values.bigip_secret.username | b64enc | quote }}
password: {{ .Values.bigip_secret.password | b64enc | quote }}
{{- end -}}