File tree Expand file tree Collapse file tree 6 files changed +19
-6
lines changed
charts/postgres-operator/templates Expand file tree Collapse file tree 6 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 6363 - spec
6464 properties :
6565 kind :
66+ type : string
6667 enum :
6768 - postgresql
6869 apiVersion :
70+ type : string
6971 enum :
7072 - acid.zalan.do/v1
7173 metadata :
@@ -183,6 +185,7 @@ spec:
183185 - version
184186 properties :
185187 version :
188+ type : string
186189 enum :
187190 - " 9.3"
188191 - " 9.4"
@@ -288,12 +291,14 @@ spec:
288291 key :
289292 type : string
290293 operator :
294+ type : string
291295 enum :
292296 - Equal
293297 - Exists
294298 value :
295299 type : string
296300 effect :
301+ type : string
297302 enum :
298303 - NoExecute
299304 - NoSchedule
@@ -309,6 +314,7 @@ spec:
309314 nullable : true
310315 description : " Role flags specified here must not contradict each other"
311316 items :
317+ type : string
312318 enum :
313319 - bypassrls
314320 - BYPASSRLS
@@ -405,9 +411,11 @@ spec:
405411 - configuration
406412 properties :
407413 kind :
414+ type : string
408415 enum :
409416 - OperatorConfiguration
410417 apiVersion :
418+ type : string
411419 enum :
412420 - acid.zalan.do/v1
413421 metadata :
Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ to function under access control restrictions. To deploy the operator with this
7979RBAC policy use :
8080
8181` ` ` bash
82- kubectl create -f manifests/operatorconfiguration.crd.yaml
83- kubectl create -f manifests/postgresql-operator-default-configuration
82+ kubectl create -f manifests/configmap.yaml
8483kubectl create -f manifests/operator-service-account-rbac.yaml
8584kubectl create -f manifests/postgres-operator.yaml
8685kubectl create -f manifests/minimal-postgres-manifest.yaml
Original file line number Diff line number Diff line change @@ -80,8 +80,7 @@ manifest but replace the version and tag. Don't forget to also apply
8080configuration and RBAC manifests first, e.g.:
8181
8282``` bash
83- kubectl create -f manifests/operatorconfiguration.crd.yaml
84- kubectl create -f manifests/postgresql-operator-default-configuration
83+ kubectl create -f manifests/configmap.yaml
8584kubectl create -f manifests/operator-service-account-rbac.yaml
8685sed -e " s/\(image\:.*\:\).*$/\1$TAG /" manifests/postgres-operator.yaml | kubectl create -f -
8786
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ git clone https://github.com/zalando/postgres-operator.git
4949cd postgres-operator
5050
5151# apply the manifests in the following order
52- kubectl create -f manifests/operatorconfiguration.crd.yaml # configuration CRD
53- kubectl create -f manifests/postgresql-operator-default-configuration # default configuration
52+ kubectl create -f manifests/configmap.yaml # configuration
5453kubectl create -f manifests/operator-service-account-rbac.yaml # identity and permissions
5554kubectl create -f manifests/postgres-operator.yaml # deployment
5655```
Original file line number Diff line number Diff line change 2323 - configuration
2424 properties :
2525 kind :
26+ type : string
2627 enum :
2728 - OperatorConfiguration
2829 apiVersion :
30+ type : string
2931 enum :
3032 - acid.zalan.do/v1
3133 metadata :
Original file line number Diff line number Diff line change 2323 - spec
2424 properties :
2525 kind :
26+ type : string
2627 enum :
2728 - postgresql
2829 apiVersion :
30+ type : string
2931 enum :
3032 - acid.zalan.do/v1
3133 metadata :
@@ -143,6 +145,7 @@ spec:
143145 - version
144146 properties :
145147 version :
148+ type : string
146149 enum :
147150 - " 9.3"
148151 - " 9.4"
@@ -248,12 +251,14 @@ spec:
248251 key :
249252 type : string
250253 operator :
254+ type : string
251255 enum :
252256 - Equal
253257 - Exists
254258 value :
255259 type : string
256260 effect :
261+ type : string
257262 enum :
258263 - NoExecute
259264 - NoSchedule
@@ -269,6 +274,7 @@ spec:
269274 nullable : true
270275 description : " Role flags specified here must not contradict each other"
271276 items :
277+ type : string
272278 enum :
273279 - bypassrls
274280 - BYPASSRLS
You can’t perform that action at this time.
0 commit comments