Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Nov 8, 2024
1 parent 676c817 commit 69a1bab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/linode/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var Options struct {
KubeconfigFlag *pflag.Flag
LinodeGoDebug bool
EnableRouteController bool
// deprecated: use VPCNames instead
// Deprecated: use VPCNames instead
VPCName string
VPCNames string
LoadBalancerType string
Expand Down
6 changes: 6 additions & 0 deletions deploy/chart/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ spec:
{{- end }}
{{- if .Values.routeController }}
- --enable-route-controller=true
{{- if and .Values.routeController.vpcName .Values.routeController.vpcNames }}
{{- fail "Both vpcName and vpcNames are set. Please use only vpcNames." }}
{{- end }}
{{- if not (or .Values.routeController.vpcName .Values.routeController.vpcNames) }}
{{- fail "Neither vpcName nor vpcNames is set. Please set one of them." }}
{{- end }}
{{- if .Values.routeController.vpcName }}
- --vpc-name={{ .Values.routeController.vpcName }}
{{- end }}
Expand Down

0 comments on commit 69a1bab

Please sign in to comment.