config-syncer

by AppsCode Inc.

Helm chartv1.0.0App v1.0.0Verified publisher

Config Syncer by AppsCode

About this chart

Config Syncer

Config Syncer by AppsCode - A Kubernetes configuration syncer

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/config-syncer --version=v1.0.0
$ helm upgrade -i config-syncer appscode/config-syncer -n kubeops --create-namespace --version=v1.0.0

Introduction

This chart deploys a Config Syncer operator on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.18+

Installing the Chart

To install/upgrade the chart with the release name config-syncer:

$ helm upgrade -i config-syncer appscode/config-syncer -n kubeops --create-namespace --version=v1.0.0

The command deploys a Config Syncer operator 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:

$ helm uninstall config-syncer -n kubeops

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 chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of Config Syncer operator replicas to create (only 1 is supported)1
licenseLicense for the product. Get a license by following the steps from here. Example: helm install appscode/panopticon \ --set-file license=/path/to/license/file or helm install appscode/panopticon \ --set license=<license file content>""
modeoss or enterpriseoss
registryFQDNDocker registry fqdn used to pull docker images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}ghcr.io
image.registryDocker registry used to pull Config Syncer operator imageappscode
image.repositoryConfig Syncer operator container imageconfig-syncer
image.tagConfig Syncer operator container image tag""
image.resourcesCompute Resources required by the operator container{}
image.securityContextSecurity options this container should run with{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}
imagePullSecretsSpecify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/config-syncer \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1[]
imagePullPolicyContainer image pull policyIfNotPresent
criticalAddonIf true, installs Config Syncer operator as critical addonfalse
logLevelLog level for operator3
annotationsAnnotations applied to operator deployment{}
podAnnotationsAnnotations passed to operator pod(s).{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity rules for pod assignment{}
podSecurityContextSecurity options the operator pod should run with.{"fsGroup":65534}

Deploy config-syncer 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 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartconfig-syncer is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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