forked from cloudnative-pg/cloudnative-pg
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrole-examples.yaml
More file actions
46 lines (46 loc) · 865 Bytes
/
Copy pathrole-examples.yaml
File metadata and controls
46 lines (46 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: postgresql.cnpg.io/v1
kind: DatabaseRole
metadata:
name: cluster-example-reporting
spec:
cluster:
name: cluster-example
name: reporting
login: true
---
apiVersion: postgresql.cnpg.io/v1
kind: DatabaseRole
metadata:
name: role-dante
spec:
cluster:
name: cluster-example
name: dante
comment: my database-side comment
login: true
superuser: false
createdb: true
createrole: false
inherit: false
clientCertificate:
enabled: true
replication: false
bypassrls: false
connectionLimit: 4
validUntil: "2053-04-12T15:04:05Z"
inRoles:
- pg_monitor
- pg_signal_backend
passwordSecret:
name: cluster-example-dante
---
apiVersion: v1
data:
username: ZGFudGU=
password: ZGFudGU=
kind: Secret
metadata:
name: cluster-example-dante
labels:
cnpg.io/reload: "true"
type: kubernetes.io/basic-auth