mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-14 14:02:17 +00:00
[vsphere-go-influxdb] New chart
This commit is contained in:
20
charts/vsphere-influxdb-go/templates/secrets.yaml
Normal file
20
charts/vsphere-influxdb-go/templates/secrets.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
{{- if not (.Values.existingSecretName) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: vsphere-influxdb-go-secret
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "vsphere-influxdb-go.name" . }}
|
||||
helm.sh/chart: {{ include "vsphere-influxdb-go.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ include "vsphere-influxdb-go.name" . }}
|
||||
type: Opaque
|
||||
data:
|
||||
vsphere.username: {{ .Values.vsphere.username | b64enc }}
|
||||
vsphere.password: {{ .Values.vsphere.password | b64enc }}
|
||||
{{- if .Values.influxdb.authenticated }}
|
||||
influxdb.username: {{ .Values.influxdb.username | b64enc }}
|
||||
influxdb.password: {{ .Values.influxdb.password | b64enc }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user