Skip to content

Commit fccd81d

Browse files
committed
fixup! feat: Configure namespace sync in helm chart
Enable namespacesync in helm chart using new flag
1 parent bfdfb76 commit fccd81d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spec:
3030
args:
3131
- --webhook-cert-dir=/runtimehooks-certs/
3232
- --defaults-namespace=$(POD_NAMESPACE)
33+
- --namespacesync-enabled={{ .Values.namespaceSync.enabled }}
3334
- --namespacesync-source-namespace={{ .Values.namespaceSync.sourceNamespace }}
3435
- --namespacesync-target-namespace-label-key={{ .Values.namespaceSync.targetNamespaceLabelKey }}
3536
- --helm-addons-configmap={{ .Values.helmAddonsConfigMap }}

charts/cluster-api-runtime-extensions-nutanix/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ deployDefaultClusterClasses: true
9191
# will copy all ClusterClasses and Templates from the source namespace to every
9292
# target namespace, i.e., every namespace that has a label with a matching key.
9393
namespaceSync:
94+
enabled: true
9495
sourceNamespace: default
9596
targetNamespaceLabelKey: caren.nutanix.com/namespace-sync
9697

0 commit comments

Comments
 (0)