charts/charts/stable/zalando-postgres-cluster/templates/secret.yaml
Vegetto 8c7886aca6
[postgres-cluster] New chart to create Postgres clusters with local storage (#739)
* first release of postgres-cluster

* increase path version

* Fix .Values access

* Use common.labels.selectorLabels

* 1.0.4 - Use .Value and not $.Value

* 1.0.5 - fix schedule

* 1.0.6

* 1.0.6 - Remove unneded service

* 1.0.8

* 1.0.9 - fix .Value.replicaNodes

* 1.0.10

* move chart

* WIP

* Ready for test

* update readme

* fix secret name

* Merge branch 'postgres-cluster'

* add labels

* gen secret

* fix labels

* keep DB content

* Ready to submit

* rename chart

Co-authored-by: angelnu <git@angelnucom>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2021-04-01 07:24:16 -04:00

17 lines
597 B
YAML

apiVersion: v1
kind: Secret
metadata:
labels:
{{- include "common.labels" . | nindent 4 }}
application: spilo
team: {{ include "common.names.fullname" . }}
# xref: https://github.com/helm/helm/issues/3053
# xref: https://github.com/helm/helm/pull/5290
"helm.sh/hook": "pre-install"
"helm.sh/hook-delete-policy": "before-hook-creation"
name: {{ include "zalando-postgres-cluster.superuser_secret" . }}
stringData:
username: {{ include "zalando-postgres-cluster.superuser" . }}
password: {{ include "zalando-postgres-cluster.superuser_password" . }}
type: Opaque