Skip to content

Commit 27b4146

Browse files
authored
build: us a shorter namespace caren-system (#662)
**What problem does this PR solve?**: Instead of defaulting to a pretty long `cluster-api-runtime-extensions-nutanix-system` namespace, proposing to use a shorter name. This is similar to other CAPI providers: ``` $ kubectl get providers -A NAMESPACE NAME AGE TYPE PROVIDER VERSION caaph-system addon-helm 91s AddonProvider helm v0.2.1 capa-system infrastructure-aws 95s InfrastructureProvider aws v2.3.5 capg-system infrastructure-gcp 92s InfrastructureProvider gcp v1.5.0 capi-kubeadm-bootstrap-system bootstrap-kubeadm 96s BootstrapProvider kubeadm v1.6.2 capi-kubeadm-control-plane-system control-plane-kubeadm 96s ControlPlaneProvider kubeadm v1.6.2 capi-system cluster-api 97s CoreProvider cluster-api v1.6.2 cappp-system infrastructure-preprovisioned 93s InfrastructureProvider preprovisioned v0.21.1 capv-system infrastructure-vsphere 93s InfrastructureProvider vsphere v1.9.1 capvcd-system infrastructure-vcd 92s InfrastructureProvider vcd v1.2.0-d2iq.1 capx-system infrastructure-nutanix 92s InfrastructureProvider nutanix v1.4.0-alpha.2 capz-system infrastructure-azure 93s InfrastructureProvider azure v1.13.1-d2iq.0 caren-system runtime-extension-caren 92s RuntimeExtensionProvider caren v0.8.1 ``` **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent f128d84 commit 27b4146

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ before:
3636
apiVersion: v1
3737
kind: Namespace
3838
metadata:
39-
name: {{ .ProjectName }}-system
39+
name: caren-system
4040
$(helm template {{ .ProjectName }} ./charts/{{ .ProjectName }} \
41-
--namespace {{ .ProjectName }}-system \
41+
--namespace caren-system \
4242
--set-string image.tag=v{{ trimprefix .Version "v" }} \
4343
{{ if .IsSnapshot }}--set-string image.repository=ko.local/{{ .ProjectName }}{{ end }} \
4444
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Add the CAREN Helm repo:
2626
helm repo add caren https://nutanix-cloud-native.github.io/cluster-api-runtime-extensions-nutanix/helm
2727
helm repo update caren
2828
helm upgrade --install caren caren/cluster-api-runtime-extensions-nutanix \
29-
--namespace cluster-api-runtime-extensions-nutanix-system \
29+
--namespace caren-system \
3030
--create-namespace \
3131
--wait \
3232
--wait-for-jobs

0 commit comments

Comments
 (0)