X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F30-Kong%2Fhelm%2Fkong%2Fcharts%2Fkong%2Fcharts%2Fpostgresql%2Ftemplates%2Fsecrets.yaml;fp=ric-infra%2F30-Kong%2Fhelm%2Fkong%2Fcharts%2Fkong%2Fcharts%2Fpostgresql%2Ftemplates%2Fsecrets.yaml;h=0000000000000000000000000000000000000000;hb=dc00cdf008775e2ac5dddb186d1eb81e80370b69;hp=acc1681415e40885d876ee1f0178210cadb46e1c;hpb=ca9b3ee64b3966fa1d20226b361b4f614434129e;p=it%2Fdep.git 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 index acc16814..00000000 --- a/ric-infra/30-Kong/helm/kong/charts/kong/charts/postgresql/templates/secrets.yaml +++ /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 -}}