Skip to content

Commit

Permalink
fix readme and helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Nov 6, 2024
1 parent c04ffe9 commit 84b666d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ When running k8s clusters within VPC, node specific podCIDRs need to be allowed
##### Example usage in values.yaml
```yaml
routeController:
vpcName: <name of VPC>
vpcNames: <comma separated names of VPCs managed by CCM>
clusterCIDR: 10.0.0.0/8
configureCloudRoutes: true
```
Expand Down
4 changes: 2 additions & 2 deletions deploy/chart/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ spec:
{{- if .Values.routeController }}
- --enable-route-controller=true
{{- if .Values.routeController.vpcName }}
- --vpc-name={{ "A valid .Values.routeController.vpcName is required" .Values.routeController.vpcName }}
- --vpc-name={{ .Values.routeController.vpcName }}
{{- end }}
{{- if .Values.routeController.vpcNames }}
- --vpc-names={{ "A valid .Values.routeController.vpcNames is required" .Values.routeController.vpcNames }}
- --vpc-names={{ .Values.routeController.vpcNames }}
{{- end }}
- --configure-cloud-routes={{ default true .Values.routeController.configureCloudRoutes }}
- --cluster-cidr={{ required "A valid .Values.routeController.clusterCIDR is required" .Values.routeController.clusterCIDR }}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func main() {
// Add Linode-specific flags
command.Flags().BoolVar(&linode.Options.LinodeGoDebug, "linodego-debug", false, "enables debug output for the LinodeAPI wrapper")
command.Flags().BoolVar(&linode.Options.EnableRouteController, "enable-route-controller", false, "enables route_controller for ccm")
command.Flags().StringVar(&linode.Options.VPCName, "vpc-name", "", "[deprecated] vpc name whose routes will be managed by route-controller")
command.Flags().StringVar(&linode.Options.VPCName, "vpc-name", "", "[deprecated: use vpc-names instead] vpc name whose routes will be managed by route-controller")
command.Flags().StringVar(&linode.Options.VPCNames, "vpc-names", "", "comma separated vpc names whose routes will be managed by route-controller")
command.Flags().StringVar(&linode.Options.LoadBalancerType, "load-balancer-type", "nodebalancer", "configures which type of load-balancing to use for LoadBalancer Services (options: nodebalancer, cilium-bgp)")
command.Flags().StringVar(&linode.Options.BGPNodeSelector, "bgp-node-selector", "", "node selector to use to perform shared IP fail-over with BGP (e.g. cilium-bgp-peering=true")
Expand Down

0 comments on commit 84b666d

Please sign in to comment.