File tree Expand file tree Collapse file tree 9 files changed +20
-21
lines changed Expand file tree Collapse file tree 9 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 43
43
- get
44
44
- list
45
45
- patch
46
- - watch # needed if zalando-postgres-operator account is used for pods as well
46
+ - watch # needed if zalando-postgres-operator account is used for pods as well
47
47
- apiGroups :
48
48
- " "
49
49
resources :
76
76
verbs :
77
77
- get
78
78
- list
79
- - update # only for resizing AWS volumes
79
+ - update # only for resizing AWS volumes
80
80
- apiGroups :
81
81
- " "
82
82
resources :
@@ -145,7 +145,7 @@ rules:
145
145
- apiGroups :
146
146
- batch
147
147
resources :
148
- - cronjobs # enables logical backups
148
+ - cronjobs # enables logical backups
149
149
verbs :
150
150
- create
151
151
- delete
Original file line number Diff line number Diff line change 1
1
image :
2
2
registry : registry.opensource.zalan.do
3
3
repository : acid/postgres-operator
4
- tag : v1.1.0-54-g3a914f9
4
+ tag : v1.2.0
5
5
pullPolicy : " IfNotPresent"
6
6
7
7
# Optionally specify an array of imagePullSecrets.
@@ -98,7 +98,7 @@ configKubernetes:
98
98
# whether the Spilo container should run in privileged mode
99
99
spilo_privileged : false
100
100
# operator watches for postgres objects in the given namespace
101
- watched_namespace : " *" # listen to all namespaces
101
+ watched_namespace : " *" # listen to all namespaces
102
102
103
103
# configure resource requests for the Postgres pods
104
104
configPostgresPodResources :
Original file line number Diff line number Diff line change 1
1
image :
2
2
registry : registry.opensource.zalan.do
3
3
repository : acid/postgres-operator
4
- tag : v1.1.0-54-g3a914f9
4
+ tag : v1.2.0
5
5
pullPolicy : " IfNotPresent"
6
6
7
7
# Optionally specify an array of imagePullSecrets.
@@ -94,7 +94,7 @@ configKubernetes:
94
94
# whether the Spilo container should run in privileged mode
95
95
spilo_privileged : " false"
96
96
# operator watches for postgres objects in the given namespace
97
- watched_namespace : " *" # listen to all namespaces
97
+ watched_namespace : " *" # listen to all namespaces
98
98
99
99
# configure resource requests for the Postgres pods
100
100
configPostgresPodResources :
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ spec:
13
13
size : 1Gi
14
14
# storageClass: my-sc
15
15
numberOfInstances : 2
16
- users : # Application/Robot users
16
+ users : # Application/Robot users
17
17
zalando :
18
18
- superuser
19
19
- createdb
20
20
enableMasterLoadBalancer : true
21
21
enableReplicaLoadBalancer : true
22
- allowedSourceRanges : # load balancers' source ranges for both master and replica services
22
+ allowedSourceRanges : # load balancers' source ranges for both master and replica services
23
23
- 127.0.0.1/32
24
24
databases :
25
25
foo : zalando
@@ -66,14 +66,14 @@ spec:
66
66
# clone:
67
67
# uid: "efd12e58-5786-11e8-b5a7-06148230260c"
68
68
# cluster: "acid-batman"
69
- # timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6)
69
+ # timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6)
70
70
# s3_wal_path: "s3://custom/path/to/bucket"
71
71
72
72
# run periodic backups with k8s cron jobs
73
73
# enableLogicalBackup: true
74
74
# logicalBackupSchedule: "30 00 * * *"
75
75
maintenanceWindows :
76
- - 01:00-06:00 # UTC
76
+ - 01:00-06:00 # UTC
77
77
- Sat:00:00-04:00
78
78
# sidecars:
79
79
# - name: "telegraf-sidecar"
Original file line number Diff line number Diff line change 76
76
# teams_api_url: http://fake-teams-api.default.svc.cluster.local
77
77
# toleration: ""
78
78
# wal_s3_bucket: ""
79
- watched_namespace : " *" # listen to all namespaces
79
+ watched_namespace : " *" # listen to all namespaces
80
80
workers : " 4"
Original file line number Diff line number Diff line change 9
9
size : 1Gi
10
10
numberOfInstances : 2
11
11
users :
12
- zalando : # database owner
12
+ zalando : # database owner
13
13
- superuser
14
14
- createdb
15
- foo_user : [] # role for application foo
15
+ foo_user : [] # role for application foo
16
16
databases :
17
- foo : zalando # dbname: owner
17
+ foo : zalando # dbname: owner
18
18
postgresql :
19
19
version : " 10"
Original file line number Diff line number Diff line change 44
44
- get
45
45
- list
46
46
- patch
47
- - watch # needed if zalando-postgres-operator account is used for pods as well
47
+ - watch # needed if zalando-postgres-operator account is used for pods as well
48
48
- apiGroups :
49
49
- " "
50
50
resources :
77
77
verbs :
78
78
- get
79
79
- list
80
- - update # only for resizing AWS volumes
80
+ - update # only for resizing AWS volumes
81
81
- apiGroups :
82
82
- " "
83
83
resources :
@@ -146,7 +146,7 @@ rules:
146
146
- apiGroups :
147
147
- batch
148
148
resources :
149
- - cronjobs # enables logical backups
149
+ - cronjobs # enables logical backups
150
150
verbs :
151
151
- create
152
152
- delete
Original file line number Diff line number Diff line change 15
15
serviceAccountName : zalando-postgres-operator
16
16
containers :
17
17
- name : postgres-operator
18
- image : registry.opensource.zalan.do/acid/smoke-tested- postgres-operator:v1.0.0-37-g2422d72
18
+ image : registry.opensource.zalan.do/acid/postgres-operator:v1.2.0
19
19
imagePullPolicy : IfNotPresent
20
20
resources :
21
21
requests :
Original file line number Diff line number Diff line change 1
-
2
1
apiVersion : " acid.zalan.do/v1"
3
2
kind : postgresql
4
3
metadata :
16
15
s3_wal_path : " s3://path/to/bucket/containing/wal/of/source/cluster/"
17
16
18
17
maintenanceWindows :
19
- - 01:00-06:00 # UTC
18
+ - 01:00-06:00 # UTC
20
19
- Sat:00:00-04:00
You can’t perform that action at this time.
0 commit comments