Skip to content

Commit 21395a7

Browse files
authored
[CAFV-226] Update Provider url path to use v1.0.1 folder path in clusterctl.yaml (#437)
Signed-off-by: lzichong <[email protected]>
1 parent 1b82d72 commit 21395a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

templates/clusterctl.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
#
44
# Below are the sample commands
55
# clusterctl init --infrastructure vcd
6-
# clusterctl generate cluster demo -i vcd:v1.0.0
7-
# clusterctl generate cluster demo -i vcd:v1.0.0 -f v1.20.8
6+
# clusterctl generate cluster demo -i vcd:v1.0.1
7+
# clusterctl generate cluster demo -i vcd:v1.0.1 -f v1.20.8
88

99
LatestRelease:
1010
URL: https://github.com/kubernetes-sigs/cluster-api/releases/tag/v1.0.2
1111
Version: v1.0.2
1212
cert-manager:
1313
url: "https://github.com/cert-manager/cert-manager/releases/latest/cert-manager.yaml"
1414
providers:
15-
# provider name must correspond with provider url, as clusterctl follows semantic "path/infrastructure-${name}/v1.0.0/infrastructure-components.yaml"
16-
# example url for name "vcdInfra" would be: /basepath/infrastructure-vcdInfra/v1.0.0/infrastructure-components.yaml"
17-
# if "v1.0.0" or "infrastructure-" prefix is omitted, there will be an error thrown expecting path format: {basepath}/{provider-name or provider-label}/{version}/{components.yaml}
15+
# provider name must correspond with provider url, as clusterctl follows semantic "path/infrastructure-${name}/v1.0.1/infrastructure-components.yaml"
16+
# example url for name "vcdInfra" would be: /basepath/infrastructure-vcdInfra/v1.0.1/infrastructure-components.yaml"
17+
# if "v1.0.1" or "infrastructure-" prefix is omitted, there will be an error thrown expecting path format: {basepath}/{provider-name or provider-label}/{version}/{components.yaml}
1818
# after the following path has been created, paste all cluster-templates inside the path specified provider url
1919
# a fully functional folder will look similar to below:
20-
# {basepath}/infrastructure-vcd/v1.0.0/infrastructure-components.yaml, clusterctl-template.yaml, clusterctl-template-v1.20.8.yaml
20+
# {basepath}/infrastructure-vcd/v1.0.1/infrastructure-components.yaml, clusterctl-template.yaml, clusterctl-template-v1.20.8.yaml
2121
- name: "vcd"
22-
url: "~/go/cluster-api-provider-cloud-director/infrastructure-vcd/v1.0.0/infrastructure-components.yaml"
22+
url: "~/go/cluster-api-provider-cloud-director/infrastructure-vcd/v1.0.1/infrastructure-components.yaml"
2323
type: "InfrastructureProvider"
2424

2525

0 commit comments

Comments
 (0)