Skip to content

Commit

Permalink
[CAFV-226] Update Provider url path to use v1.0.1 folder path in clus…
Browse files Browse the repository at this point in the history
…terctl.yaml (#437)

Signed-off-by: lzichong <lzichong@vmware.com>
  • Loading branch information
lzichong authored Apr 19, 2023
1 parent 1b82d72 commit 21395a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/clusterctl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
#
# 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
Version: v1.0.2
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"


Expand Down

0 comments on commit 21395a7

Please sign in to comment.