config-syncer-manager
Config Syncer OCM AddOn Manager
About this chart
Config Syncer Manager
Config Syncer OCM AddOn Manager - Config Syncer OCM AddOn Manager
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/config-syncer-manager --version=v1.0.0
$ helm upgrade -i config-syncer-manager appscode/config-syncer-manager -n open-cluster-management-addon --create-namespace --version=v1.0.0
Introduction
This chart deploys a Config Syncer OCM AddOn Manager on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.29+
- Open Cluster Management (https://open-cluster-management.io) hub
Installing the Chart
To install/upgrade the chart with the release name config-syncer-manager:
$ helm upgrade -i config-syncer-manager appscode/config-syncer-manager -n open-cluster-management-addon --create-namespace --version=v1.0.0
The command deploys a Config Syncer OCM AddOn Manager on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the config-syncer-manager:
$ helm uninstall config-syncer-manager -n open-cluster-management-addon
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the config-syncer-manager chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| registryFQDN | Docker registry fqdn used to pull config-syncer images on every spoke. | ghcr.io |
| image | Manager image. Set tag to override the chart appVersion. | ghcr.io/appscode/config-syncer |
| tag | "" | |
| imagePullPolicy | Always | |
| clusterName | Name of the hub cluster, recorded as origin cluster on objects synced to spokes. | hub |
| placement.create | true | |
| placement.name | global | |
| kubeconfigSecretName | Name of a Secret holding an OCM hub kubeconfig; when set, the manager uses --kubeconfig instead of the in-cluster ServiceAccount. | "" |
| securityContext.allowPrivilegeEscalation | false | |
| securityContext.privileged | false | |
| securityContext.runAsNonRoot | true | |
| securityContext.runAsUser | 65534 | |
| securityContext.readOnlyRootFilesystem | true | |
| securityContext.seccompProfile.type | RuntimeDefault | |
| envFrom | List of sources to populate environment variables in the container | [] |
| env | List of environment variables to set in the container | [] |
| monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | "" |
| monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is prometheus.io/operator. | {} |
| distro.openshift | Set true, if installed in OpenShift | false |
| distro.ubi | Set operator or all to use ubi images | "" |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i config-syncer-manager appscode/config-syncer-manager -n open-cluster-management-addon --create-namespace --version=v1.0.0 --set registryFQDN=ghcr.io
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i config-syncer-manager appscode/config-syncer-manager -n open-cluster-management-addon --create-namespace --version=v1.0.0 --values values.yaml
Deploy config-syncer-manager with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has config-syncer-manager on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartconfig-syncer-manager is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply