File tree 3 files changed +12
-0
lines changed
charts/cluster-api-runtime-extensions-nutanix
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
70
70
| image.repository | string | ` "ghcr.io/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix" ` | |
71
71
| image.tag | string | ` "" ` | |
72
72
| imagePullSecrets | list | ` [] ` | Optional secrets used for pulling the container image |
73
+ | namespaceSync.sourceNamespace | string | ` "default" ` | |
74
+ | namespaceSync.targetNamespaceLabelKey | string | ` "caren.nutanix.com/namespace-sync" ` | |
73
75
| nodeSelector | object | ` {} ` | |
74
76
| priorityClassName | string | ` "system-cluster-critical" ` | Priority class to be used for the pod. |
75
77
| resources.limits.cpu | string | ` "100m" ` | |
Original file line number Diff line number Diff line change 30
30
args :
31
31
- --webhook-cert-dir=/runtimehooks-certs/
32
32
- --defaults-namespace=$(POD_NAMESPACE)
33
+ - --namespacesync-source-namespace={{ .Values.namespaceSync.sourceNamespace }}
34
+ - --namespacesync-target-namespace-label-key={{ .Values.namespaceSync.targetNamespaceLabelKey }}
33
35
- --helm-addons-configmap={{ .Values.helmAddonsConfigMap }}
34
36
- --cni.cilium.helm-addon.default-values-template-configmap-name={{ .Values.hooks.cni.cilium.helmAddonStrategy.defaultValueTemplateConfigMap.name }}
35
37
- --nfd.helm-addon.default-values-template-configmap-name={{ .Values.hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.name }}
Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ helmAddonsConfigMap: default-helm-addons-config
86
86
87
87
deployDefaultClusterClasses : true
88
88
89
+ # The ClusterClass and the Templates it references must be in the same namespace
90
+ # as the Cluster. To enable cluster creation in user-defined namespaces, CAREN
91
+ # will copy all ClusterClasses and Templates from the source namespace to every
92
+ # target namespace, i.e., every namespace that has a label with a matching key.
93
+ namespaceSync :
94
+ sourceNamespace : default
95
+ targetNamespaceLabelKey : caren.nutanix.com/namespace-sync
96
+
89
97
deployment :
90
98
replicas : 1
91
99
You can’t perform that action at this time.
0 commit comments