mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 21:42:18 +00:00
20 lines
640 B
YAML
20 lines
640 B
YAML
{{- if not .Values.cronjob.existingSecretName }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: aaisp-to-mqtt-secret
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "aaisp-to-mqtt.name" . }}
|
|
helm.sh/chart: {{ include "aaisp-to-mqtt.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ include "aaisp-to-mqtt.name" . }}
|
|
type: Opaque
|
|
data:
|
|
aaisp.username: {{ .Values.aaisp.username }}
|
|
aaisp.password: {{ .Values.aaisp.password }}
|
|
{{- if .Values.mqtt.authenticated }}
|
|
mqtt.username: {{ .Values.mqtt.username }}
|
|
mqtt.password: {{ .Values.mqtt.password }}
|
|
{{- end }}
|
|
{{- end }} |