Skip to content

Commit 7a56203

Browse files
committed
fix: typo in the updateStrategy section of the CRD
1 parent 9126f93 commit 7a56203

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

stackgres-k8s/src/common/src/main/resources/crds/SGCluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,10 +973,10 @@ spec:
973973
ready before continuing. When scaling down, the pods are removed in the opposite order.
974974
The alternative policy is `Parallel` which will create pods in parallel to match the desired
975975
scale without waiting, and on scale down will delete all pods at once.
976-
updateStartegy:
976+
updateStrategy:
977977
type: object
978978
default:
979-
type: SGDbOps
979+
type: OnlyDbOps
980980
description: |
981981
This section indicates the strategy that the SGCluster controller will use to perform updates.
982982

stackgres-k8s/src/common/src/main/resources/crds/SGShardedCluster.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,10 +1695,10 @@ spec:
16951695
scale without waiting, and on scale down will delete all pods at once.
16961696
16971697
If sharding type is `shardingsphere` then this field is ignored.
1698-
updateStartegy: &update-strategy
1698+
updateStrategy: &update-strategy
16991699
type: object
17001700
default:
1701-
type: SGDbOps
1701+
type: OnlyDbOps
17021702
description: |
17031703
This section indicates the strategy that the SGCluster controller will use to perform updates.
17041704
@@ -2571,7 +2571,7 @@ spec:
25712571
ready before continuing. When scaling down, the pods are removed in the opposite order.
25722572
The alternative policy is `Parallel` which will create pods in parallel to match the desired
25732573
scale without waiting, and on scale down will delete all pods at once.
2574-
update-strategy: *update-strategy
2574+
updateStrategy: *update-strategy
25752575
customVolumes:
25762576
type: array
25772577
description: |
@@ -2960,7 +2960,7 @@ spec:
29602960
ready before continuing. When scaling down, the pods are removed in the opposite order.
29612961
The alternative policy is `Parallel` which will create pods in parallel to match the desired
29622962
scale without waiting, and on scale down will delete all pods at once.
2963-
update-strategy: *update-strategy
2963+
updateStrategy: *update-strategy
29642964
customVolumes:
29652965
type: array
29662966
description: |

0 commit comments

Comments
 (0)