Merge R3 into master
[it/dep.git] / ric-infra / 30-Kong / helm / kong / charts / kong / charts / postgresql / templates / secrets.yaml
diff --git a/ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml b/ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml
deleted file mode 100755 (executable)
index acc1681..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-{{- if not .Values.existingSecret }}
-apiVersion: v1
-kind: Secret
-metadata:
-  name: {{ template "postgresql.fullname" . }}
-  labels:
-    app: {{ template "postgresql.name" . }}
-    chart: {{ template "postgresql.chart" . }}
-    release: {{ .Release.Name | quote }}
-    heritage: {{ .Release.Service | quote }}
-type: Opaque
-data:
-  {{- if .Values.postgresqlPassword }}
-  postgresql-password: {{ .Values.postgresqlPassword | b64enc | quote }}
-  {{- else }}
-  postgresql-password: {{ randAlphaNum 10 | b64enc | quote }}
-  {{- end }}
-  {{- if .Values.replication.enabled }}
-  {{- if .Values.replication.password }}
-  postgresql-replication-password: {{ .Values.replication.password | b64enc | quote }}
-  {{- else }}
-  postgresql-replication-password: {{ randAlphaNum 10 | b64enc | quote }}
-  {{- end }}
-  {{- end }}
-{{- end -}}