Repository navigation
chart: optional host network, RBAC and kubeconfig for running outside the cluster - #326
Merged
Merged
Conversation
lgfa29
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support running the CCM from outside the cluster.
This allows a management cluster to host the KCP and core workloads, like the CCM, outside a child cluster to provide a managed platform experience for a fleet of clusters.
Host networking was previously required to support running the CCM before the CNI since the CCM is needed for cluster bootstrap. When running outside the cluster, host networking is not required since it is running in a cluster it is not managing.
Similarly RBAC should not be generated for a CCM targeting another cluster since the policies would apply to the cluster where the CCM is running which it is not managing in this mode. Instead, the kubeconfig user would need to be configured with the rbac policies.
additionalLabelsisn't specifically for the target cluster use-case, but in my prototype, I needed it to tie the CCM to a particular child cluster. It's a generally useful thing to have in a helm chart anyways.