Repository navigation
Add config-syncer-manager OCM addon chart - #529
Open
ArnobKumarSaha wants to merge 1 commit into
Open
ArnobKumarSaha wants to merge 1 commit into
ArnobKumarSaha wants to merge 1 commit into
Conversation
Adds the hub-side installer chart for the config-syncer manager
subcommand, and hub.{kubeconfigSecretName,namespace} values to the
config-syncer chart so the agent can sync from OCM hub mirrors.
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
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.
Hub-side installer chart for the config-syncer OCM addon manager: config-syncer/config-syncer-enterprise#36
charts/config-syncer-manager(new, based onfargocd-manager)config-syncer manager --registryFQDN=... --cluster-name=...from the-entimage.config-syncer-<cluster>mirror namespaces, and roles/rolebindings.ClusterManagementAddOn config-syncer(lifecycleaddon-manager,installStrategy: Placements), a Placement and ManagedClusterSetBinding (placement.create), and aManifestWorkReplicaSetthat gives klusterlet-work the ClusterRole/ClusterRoleBinding permissions the agent chart needs.ConfigSyncerManagerAPI type. OCM CRDs are imported throughhack/scripts/import-crds.sh.charts/config-syncerhub.kubeconfigSecretNameandhub.namespace. When they are set, the chart mounts the hub kubeconfig and passes--hub-kubeconfigand--hub-namespace.Testing
make gen fmtproduces no diff, andhelm lintpasses for both charts.helm template charts/config-syncer-manager | kubectl apply --dry-run=serverpasses on an OCM hub.globalPlacement and SetBinding from another addon chart, install with--set placement.create=false.