Skip to content

Commit

Permalink
[data] added base secret for postgres cloudnative operator
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Sep 29, 2023
1 parent 4fe1586 commit b891749
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/data/postgres/cloudnative/base/secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: cloudnative-postgres
annotations:
avp.kubernetes.io/path: "kv/data/postgres"
reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true"
reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces: ""
type: kubernetes.io/basic-auth
stringData:
username: <username>
password: <password>
4 changes: 4 additions & 0 deletions apps/data/postgres/cloudnative/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- base/secrets.yaml

patchesStrategicMerge:
- overlay/crb-patch.yaml

helmCharts:
- name: cloudnative-pg
releaseName: cnpg
Expand Down

0 comments on commit b891749

Please sign in to comment.