feat(cnpg-operator): add secret configuration

This commit is contained in:
wpetit 2023-01-30 14:28:35 +01:00
parent 8ff8cf73b3
commit 626844dcc1
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,8 @@
---
nameReference:
- kind: Secret
fieldSpecs:
- path: spec/superuserSecret/name
kind: Cluster
- path: spec/bootstrap/initdb/secret/name
kind: Cluster

View File

@ -2,4 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.18/releases/cnpg-1.18.1.yaml
- https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.18/releases/cnpg-1.18.1.yaml
configurations:
- ./configurations/cnpg-cluster.yaml