Skip to content

Commit fcb9687

Browse files
committed
feat(postgres): Add Component to enable super user access
ref: #18
1 parent 7bdc495 commit fcb9687

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
3+
apiVersion: kustomize.config.k8s.io/v1alpha1
4+
kind: Component
5+
6+
7+
patches:
8+
# yamllint disable rule:indentation
9+
- patch: |-
10+
11+
- op: replace
12+
path: /spec/enableSuperuserAccess
13+
value: true
14+
15+
- op: add
16+
path: /spec/superuserSecret
17+
value:
18+
name: cluster-superuser
19+
20+
# yamllint enable rule:indentation
21+
target:
22+
group: postgresql.cnpg.io
23+
version: v1
24+
kind: Cluster

0 commit comments

Comments
 (0)