Skip to content

Commit

Permalink
Use string join function in cloud provider azure chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Apr 26, 2023
1 parent e2d41f1 commit a375459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/samples/cloud-provider-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ spec:
infra:
clusterName: {{ .Cluster.metadata.name }}
cloudControllerManager:
clusterCIDR:{{range $i, $cidr := .Cluster.spec.clusterNetwork.pods.cidrBlocks }}
- {{ $cidr }}{{end}}
clusterCIDR: {{ .Cluster.spec.clusterNetwork.pods.cidrBlocks | join "," }}

0 comments on commit a375459

Please sign in to comment.