Skip to content

Commit d5dd8f5

Browse files
committed
update postgres-operator.yaml
1 parent e3700e4 commit d5dd8f5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,26 @@ spec:
3333
name: State
3434
type: string
3535
priority: 0 # show in standard view
36+
- jsonPath: .spec.updatetoleration
37+
description: update disable when the cluster status is unhealthy
38+
name: Updatetoleration
39+
type: boolean
40+
priority: 1 # show in wide view
41+
- jsonPath: .spec.volume_type
42+
description: if volume type is local, rebuild pvc during rolling upgrade
43+
name: Volumetype
44+
type: string
45+
priority: 1 # show in wide view
3646
- jsonPath: .spec.autofailover.podspec.containers[0].image
3747
description: The autofailover image
3848
name: FailoverImage
3949
type: string
40-
priority: 1 # show in standard view
50+
priority: 1 # show in wide view
4151
- jsonPath: .spec.postgresql.readwriteinstance.podspec.containers[0].image
4252
description: The postgresql image
4353
name: PostgresqlImage
4454
type: string
45-
priority: 1 # show in standard view
55+
priority: 1 # show in wide view
4656
- jsonPath: .spec.postgresql.readwriteinstance.replicas
4757
description: The readwriteinstance nodes
4858
name: RWnodes
@@ -93,11 +103,18 @@ spec:
93103
enum:
94104
- true
95105
- false
106+
updatetoleration:
107+
type: boolean
108+
enum:
109+
- true
110+
- false
111+
default: false
96112
volume_type:
97113
type: string
98114
enum:
99115
- 'local'
100116
- 'cloud'
117+
default: 'local'
101118
antiaffinity:
102119
type: object
103120
x-kubernetes-preserve-unknown-fields: true

0 commit comments

Comments
 (0)