File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -46,24 +46,24 @@ spec:
4646 {{- end }}
4747 {{- if .Values.routeController }}
4848 - --enable-route-controller=true
49- {{- if and .Values.routeController.vpcName .Values.routeController.vpcNames }}
50- {{- fail "Both vpcName and vpcNames are set. Please use only vpcNames." }}
51- {{- end }}
52- {{- if not (or .Values.routeController.vpcName .Values.routeController.vpcNames) }}
49+ {{- if not (or .Values.vpcName .Values.vpcNames) }}
5350 {{- fail "Neither vpcName nor vpcNames is set. Please set one of them." }}
5451 {{- end }}
55- {{- with .Values.routeController.vpcName }}
56- - --vpc-name={{ . }}
57- {{- end }}
58- {{- with .Values.routeController.vpcNames }}
59- - --vpc-names={{ . }}
60- {{- end }}
6152 - --configure-cloud-routes={{ default true .Values.routeController.configureCloudRoutes }}
6253 - --cluster-cidr={{ required "A valid .Values.routeController.clusterCIDR is required" .Values.routeController.clusterCIDR }}
6354 {{- with .Values.routeController.routeReconciliationPeriod }}
6455 - --route-reconciliation-period={{ . }}
6556 {{- end }}
6657 {{- end }}
58+ {{- if and .Values.vpcName .Values.vpcNames }}
59+ {{- fail "Both vpcName and vpcNames are set. Please use only vpcNames." }}
60+ {{- end }}
61+ {{- with .Values.vpcName }}
62+ - --vpc-name={{ . }}
63+ {{- end }}
64+ {{- with .Values.vpcNames }}
65+ - --vpc-names={{ . }}
66+ {{- end }}
6767 {{- if .Values.sharedIPLoadBalancing }}
6868 {{- with .Values.sharedIPLoadBalancing.bgpNodeSelector }}
6969 - --bgp-node-selector={{ . }}
Original file line number Diff line number Diff line change @@ -69,11 +69,13 @@ tolerations:
6969
7070# This section adds ability to enable route-controller for ccm
7171# routeController:
72- # vpcName: <name of VPC> [Deprecated: use vpcNames instead]
73- # vpcNames: <comma separated list of vpc names>
7472# clusterCIDR: 10.0.0.0/8
7573# configureCloudRoutes: true
7674
75+ # VPCs that will be managed by the CCM
76+ # vpcName: <name of VPC> [Deprecated: use vpcNames instead]
77+ # vpcNames: <comma separated list of vpc names>
78+
7779# Enable Linode token health checker
7880# tokenHealthChecker: true
7981
You can’t perform that action at this time.
0 commit comments