From 21395a7a3dec67c109ec297a9a1c69c21e7ca243 Mon Sep 17 00:00:00 2001 From: lzichong <102765531+lzichong@users.noreply.github.com> Date: Wed, 19 Apr 2023 14:09:19 -0700 Subject: [PATCH] [CAFV-226] Update Provider url path to use v1.0.1 folder path in clusterctl.yaml (#437) Signed-off-by: lzichong --- templates/clusterctl.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/clusterctl.yaml b/templates/clusterctl.yaml index 63a7f0fce..3eff7f572 100644 --- a/templates/clusterctl.yaml +++ b/templates/clusterctl.yaml @@ -3,8 +3,8 @@ # # Below are the sample commands # clusterctl init --infrastructure vcd -# clusterctl generate cluster demo -i vcd:v1.0.0 -# clusterctl generate cluster demo -i vcd:v1.0.0 -f v1.20.8 +# clusterctl generate cluster demo -i vcd:v1.0.1 +# clusterctl generate cluster demo -i vcd:v1.0.1 -f v1.20.8 LatestRelease: URL: https://github.com/kubernetes-sigs/cluster-api/releases/tag/v1.0.2 @@ -12,14 +12,14 @@ LatestRelease: cert-manager: url: "https://github.com/cert-manager/cert-manager/releases/latest/cert-manager.yaml" providers: -# provider name must correspond with provider url, as clusterctl follows semantic "path/infrastructure-${name}/v1.0.0/infrastructure-components.yaml" -# example url for name "vcdInfra" would be: /basepath/infrastructure-vcdInfra/v1.0.0/infrastructure-components.yaml" -# 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} +# provider name must correspond with provider url, as clusterctl follows semantic "path/infrastructure-${name}/v1.0.1/infrastructure-components.yaml" +# example url for name "vcdInfra" would be: /basepath/infrastructure-vcdInfra/v1.0.1/infrastructure-components.yaml" +# 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} # after the following path has been created, paste all cluster-templates inside the path specified provider url # a fully functional folder will look similar to below: -# {basepath}/infrastructure-vcd/v1.0.0/infrastructure-components.yaml, clusterctl-template.yaml, clusterctl-template-v1.20.8.yaml +# {basepath}/infrastructure-vcd/v1.0.1/infrastructure-components.yaml, clusterctl-template.yaml, clusterctl-template-v1.20.8.yaml - name: "vcd" - url: "~/go/cluster-api-provider-cloud-director/infrastructure-vcd/v1.0.0/infrastructure-components.yaml" + url: "~/go/cluster-api-provider-cloud-director/infrastructure-vcd/v1.0.1/infrastructure-components.yaml" type: "InfrastructureProvider"