add loop helm chart
This commit is contained in:
14
loop-enterprise-edition/templates/secret-loop-dbsecret.yaml
Normal file
14
loop-enterprise-edition/templates/secret-loop-dbsecret.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- if not .Values.global.features.database.existingDatabaseSecret.name }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "loop-enterprise-edition.fullname" . }}-loop-dbsecret
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "loop-enterprise-edition.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "loop-enterprise-edition.chart" . }}
|
||||
type: Opaque
|
||||
data:
|
||||
loop.dbsecret: {{ tpl "{{ .Values.global.features.database.external.driver }}://{{ .Values.global.features.database.external.dataSource }}" . | b64enc }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user