Skip to content

Commit ee51284

Browse files
committed
fix: Use correct filename for runtime extensions component YAML
Noticed that the clusterctl components filename was incorrect - should be ` runtime-extensions-components.yaml` as documented at https://cluster-api.sigs.k8s.io/clusterctl/provider-contract#components-yaml. Will do a patch release after this change is made. This will allow adding the provider to the upstream clusterctl provider list.
1 parent 50b447e commit ee51284

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ node_modules/
4343
.hugo_build.lock
4444

4545
/cluster.yaml
46-
/runtime-extension-components.yaml
46+
/runtime-extensions-components.yaml
4747
/_artifacts/
4848
test/e2e/config/caren-envsubst.yaml
4949
/release-metadata.yaml

.goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ release:
2929
- glob: ./examples/capi-quick-start/*.yaml
3030
- glob: release-metadata.yaml
3131
name_template: metadata.yaml
32-
- glob: runtime-extension-components.yaml
32+
- glob: runtime-extensions-components.yaml
3333
- glob: ./charts/{{ .ProjectName }}/defaultclusterclasses/*.yaml
3434
- glob: caren-images.txt
3535

3636
before:
3737
hooks:
3838
- |
39-
sh -ec 'cat <<EOF > runtime-extension-components.yaml
39+
sh -ec 'cat <<EOF > runtime-extensions-components.yaml
4040
apiVersion: v1
4141
kind: Namespace
4242
metadata:
@@ -48,7 +48,7 @@ before:
4848
--set-string image.repository=ko.local/{{ .ProjectName }}{{ end }} \
4949
)
5050
EOF'
51-
- sed -i -e 's/\${/$${/g' -e 's/v0.0.0-dev/v{{ trimprefix .Version "v" }}/g' runtime-extension-components.yaml
51+
- sed -i -e 's/\${/$${/g' -e 's/v0.0.0-dev/v{{ trimprefix .Version "v" }}/g' runtime-extensions-components.yaml
5252
- |
5353
sh -ec 'gojq --yaml-input --yaml-output \
5454
".releaseSeries |= (. + [{contract: \"v1beta1\", major: {{ .Major }}, minor: {{ .Minor }}}] | unique)" \

docs/content/getting-started/deployment/via-clusterctl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ key from this block below:
1212
```yaml
1313
providers:
1414
- name: "caren"
15-
url: "https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/v{{< param "version" >}}/runtime-extension-components.yaml"
15+
url: "https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/v{{< param "version" >}}/runtime-extensions-components.yaml"
1616
type: "RuntimeExtensionProvider"
1717
```
1818

test/e2e/config/caren.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ providers:
137137
# Upgrade e2e tests will use this as the "upgrade from" version.
138138
# This should reference the most recent successful release.
139139
- name: "{go://github.com/nutanix-cloud-native/[email protected]}"
140-
value: "https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/download/{go://github.com/nutanix-cloud-native/[email protected]}/runtime-extension-components.yaml"
140+
value: "https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/download/{go://github.com/nutanix-cloud-native/[email protected]}/runtime-extensions-components.yaml"
141141
type: "url"
142142
contract: v1beta1
143143
files:
@@ -148,7 +148,7 @@ providers:
148148
- old: --metrics-addr=127.0.0.1:8080
149149
new: --metrics-addr=:8080
150150
- name: v0.21.99 # "vNext"; use manifests from local source files
151-
value: "file://../../../runtime-extension-components.yaml"
151+
value: "file://../../../runtime-extensions-components.yaml"
152152
type: "url"
153153
contract: v1beta1
154154
files:

0 commit comments

Comments
 (0)