File tree Expand file tree Collapse file tree
charts/ceph-csi-operator/templates
vendor/github.com/ceph/ceph-csi-operator/api/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -229,9 +229,12 @@ type ControllerPluginSpec struct {
229229 //+kubebuilder:validation:Optional
230230 DeploymentStrategy * appsv1.DeploymentStrategy `json:"deploymentStrategy,omitempty"`
231231
232- // Set replicas for controller plugin's deployment. Defaults to 2
232+ // Set replicas for controller plugin's deployment. Defaults to 2.
233+ // On single-node clusters, the operator automatically caps the replica
234+ // count to the number of available nodes when this field is not set.
233235 //+kubebuilder:validation:Optional
234236 //+kubebuilder:validation:Minimum:=1
237+ //+kubebuilder:default:=2
235238 Replicas * int32 `json:"replicas,omitempty"`
236239
237240 // Resource requirements for controller plugin's containers
Original file line number Diff line number Diff line change @@ -1076,8 +1076,11 @@ spec:
10761076 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
10771077 type : boolean
10781078 replicas :
1079- description : Set replicas for controller plugin's deployment.
1080- Defaults to 2
1079+ default : 2
1080+ description : |-
1081+ Set replicas for controller plugin's deployment. Defaults to 2.
1082+ On single-node clusters, the operator automatically caps the replica
1083+ count to the number of available nodes when this field is not set.
10811084 format : int32
10821085 minimum : 1
10831086 type : integer
Original file line number Diff line number Diff line change @@ -1085,8 +1085,11 @@ spec:
10851085 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
10861086 type: boolean
10871087 replicas:
1088- description: Set replicas for controller plugin's deployment.
1089- Defaults to 2
1088+ default: 2
1089+ description: |-
1090+ Set replicas for controller plugin's deployment. Defaults to 2.
1091+ On single-node clusters, the operator automatically caps the replica
1092+ count to the number of available nodes when this field is not set.
10901093 format: int32
10911094 minimum: 1
10921095 type: integer
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ rules:
1717 - patch
1818 - update
1919 - watch
20+ - apiGroups :
21+ - " "
22+ resources :
23+ - nodes
24+ verbs :
25+ - list
26+ - watch
2027- apiGroups :
2128 - apps
2229 resources :
Original file line number Diff line number Diff line change @@ -1414,8 +1414,11 @@ spec:
14141414 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
14151415 type: boolean
14161416 replicas:
1417- description: Set replicas for controller plugin's deployment.
1418- Defaults to 2
1417+ default: 2
1418+ description: |-
1419+ Set replicas for controller plugin's deployment. Defaults to 2.
1420+ On single-node clusters, the operator automatically caps the replica
1421+ count to the number of available nodes when this field is not set.
14191422 format: int32
14201423 minimum: 1
14211424 type: integer
@@ -8626,8 +8629,11 @@ spec:
86268629 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
86278630 type: boolean
86288631 replicas:
8629- description: Set replicas for controller plugin's deployment.
8630- Defaults to 2
8632+ default: 2
8633+ description: |-
8634+ Set replicas for controller plugin's deployment. Defaults to 2.
8635+ On single-node clusters, the operator automatically caps the replica
8636+ count to the number of available nodes when this field is not set.
86318637 format: int32
86328638 minimum: 1
86338639 type: integer
@@ -15685,6 +15691,13 @@ rules:
1568515691 - patch
1568615692 - update
1568715693 - watch
15694+ - apiGroups:
15695+ - ""
15696+ resources:
15697+ - nodes
15698+ verbs:
15699+ - list
15700+ - watch
1568815701- apiGroups:
1568915702 - apps
1569015703 resources:
Original file line number Diff line number Diff line change @@ -1414,8 +1414,11 @@ spec:
14141414 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
14151415 type: boolean
14161416 replicas:
1417- description: Set replicas for controller plugin's deployment.
1418- Defaults to 2
1417+ default: 2
1418+ description: |-
1419+ Set replicas for controller plugin's deployment. Defaults to 2.
1420+ On single-node clusters, the operator automatically caps the replica
1421+ count to the number of available nodes when this field is not set.
14191422 format: int32
14201423 minimum: 1
14211424 type: integer
@@ -8626,8 +8629,11 @@ spec:
86268629 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
86278630 type: boolean
86288631 replicas:
8629- description: Set replicas for controller plugin's deployment.
8630- Defaults to 2
8632+ default: 2
8633+ description: |-
8634+ Set replicas for controller plugin's deployment. Defaults to 2.
8635+ On single-node clusters, the operator automatically caps the replica
8636+ count to the number of available nodes when this field is not set.
86318637 format: int32
86328638 minimum: 1
86338639 type: integer
@@ -15671,6 +15677,13 @@ rules:
1567115677 - patch
1567215678 - update
1567315679 - watch
15680+ - apiGroups:
15681+ - ""
15682+ resources:
15683+ - nodes
15684+ verbs:
15685+ - list
15686+ - watch
1567415687- apiGroups:
1567515688 - apps
1567615689 resources:
Original file line number Diff line number Diff line change @@ -1076,8 +1076,11 @@ spec:
10761076 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
10771077 type : boolean
10781078 replicas :
1079- description : Set replicas for controller plugin's deployment. Defaults
1080- to 2
1079+ default : 2
1080+ description : |-
1081+ Set replicas for controller plugin's deployment. Defaults to 2.
1082+ On single-node clusters, the operator automatically caps the replica
1083+ count to the number of available nodes when this field is not set.
10811084 format : int32
10821085 minimum : 1
10831086 type : integer
Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ rules:
1818 - patch
1919 - update
2020 - watch
21+ - apiGroups :
22+ - " "
23+ resources :
24+ - nodes
25+ verbs :
26+ - list
27+ - watch
2128- apiGroups :
2229 - apps
2330 resources :
Original file line number Diff line number Diff line change @@ -1082,8 +1082,11 @@ spec:
10821082 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
10831083 type: boolean
10841084 replicas:
1085- description: Set replicas for controller plugin's deployment.
1086- Defaults to 2
1085+ default: 2
1086+ description: |-
1087+ Set replicas for controller plugin's deployment. Defaults to 2.
1088+ On single-node clusters, the operator automatically caps the replica
1089+ count to the number of available nodes when this field is not set.
10871090 format: int32
10881091 minimum: 1
10891092 type: integer
Original file line number Diff line number Diff line change @@ -1405,8 +1405,11 @@ spec:
14051405 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
14061406 type: boolean
14071407 replicas:
1408- description: Set replicas for controller plugin's deployment.
1409- Defaults to 2
1408+ default: 2
1409+ description: |-
1410+ Set replicas for controller plugin's deployment. Defaults to 2.
1411+ On single-node clusters, the operator automatically caps the replica
1412+ count to the number of available nodes when this field is not set.
14101413 format: int32
14111414 minimum: 1
14121415 type: integer
@@ -8617,8 +8620,11 @@ spec:
86178620 For example, OpenShift with SELinux restrictions requires the pod to be privileged to write to hostPath.
86188621 type: boolean
86198622 replicas:
8620- description: Set replicas for controller plugin's deployment.
8621- Defaults to 2
8623+ default: 2
8624+ description: |-
8625+ Set replicas for controller plugin's deployment. Defaults to 2.
8626+ On single-node clusters, the operator automatically caps the replica
8627+ count to the number of available nodes when this field is not set.
86228628 format: int32
86238629 minimum: 1
86248630 type: integer
You can’t perform that action at this time.
0 commit comments