tigera-operator

by stevehipwell

Helm chartv2.15.0App 1.44.0Verified publisher

Helm chart to install the Tigera Operator for managing Calico.

About this chart

tigera-operator

The Tigera Operator is a Kubernetes operator which manages the lifecycle of a Calico or Calico Enterprise installation on Kubernetes. Its goal is to make installation, upgrades, and ongoing lifecycle management of Calico and Calico Enterprise as simple and reliable as possible.

It is possible to use the Tigera Operator for other use-cases by installing additional CRDs and adding custom RBAC rules via rbac.customRules.

Homepage: https://www.tigera.io/

Maintainers

NameEmailUrl
stevehipwell[email protected]

Source Code

Installing the Chart

OCI Repository

To install the chart using the recommended OCI method you can use the following command.

helm upgrade --install tigera-operator oci://ghcr.io/stevehipwell/helm-charts/tigera-operator --version 2.15.0

Verification

As the OCI chart release is signed by Cosign you can verify the chart before installing it by running the following command.

cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/tigera-operator:2.15.0

Non-OCI Repository

Alternatively you can use the legacy non-OCI method via the following commands.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install tigera-operator stevehipwell/tigera-operator --version 2.15.0

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for scheduling. If an explicit label selector is not provided for pod affinity or pod anti-affinity one will be created from the pod selector labels.
apiServer.enabledboolfalseIf true, install an APIServer control plane according to the apiServer.spec.
apiServer.specobject{}APIServer Spec to enable kubectl to manage Calico APIs.
argslist[]Extra args for the default container.
commonLabelsobject{}Labels to add to all chart resources.
dnsPolicystring"ClusterFirstWithHostNet"Pod DNS policy.
envlist[]Environment variables for the default container.
envFromlist[]DEPRECATED - Environment variables from a config map or secret for the default container.
fullnameOverridestringnilOverride the full name of the chart.
goldmane.enabledboolfalseIf true, install a Goldmane flow aggregator according to the goldmane.spec.
goldmane.specobject{}Goldmane Spec to enable flow aggregation.
hostNetworkbooltrueIf true, the pod will use the host network namespace. This can be set to false if Calico is not the CNI.
image.pullPolicystring"IfNotPresent"Image pull policy for the default container.
image.repositorystring"quay.io/tigera/operator"Image repository for the default container.
image.tagstringnilImage tag for the default container, this will default to printf "v%s" .Chart.AppVersion if not set.
imagePullSecretslist[]Image pull secrets.
installation.enabledboolfalseIf true, install a Calico control plane according to the installation.spec value.
installation.specobject{"registry":"quay.io/","variant":"Calico"}Tigera Operator Spec to deploy Calico with.
manageCRDsboolfalseIf true, allow Tigera Operator to manage CRDs.
nameOverridestringnilOverride the name of the chart.
nodeSelectorobject{"kubernetes.io/os":"linux"}Node selector labels for scheduling.
podAnnotationsobject{}Annotations to add to the pod.
podLabelsobject{}Labels to add to the pod.
podSecurityContextobjectSee values.yamlSecurity context for the pod.
priorityClassNamestringnilPriority class name for the pod.
rbac.createbooltrueIf true, create a ClusterRole & ClusterRoleBinding with access to the Kubernetes API.
rbac.customRulesstringnilAdditional rules to add to the ClusterRole.
resourcesobject{}Resources for the default container.
securityContextobjectSee values.yamlSecurity context for the default container.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueIf true, create a new ServiceAccount.
serviceAccount.labelsobject{}Labels to add to the service account.
serviceAccount.namestringnilIf this is set and serviceAccount.create is true this will be used for the created service account name, if set and serviceAccount.create is false then this will define an existing service account to use.
serviceMonitor.additionalLabelsobject{}Additional labels for the service monitor.
serviceMonitor.enabledboolfalseIf true, create a ServiceMonitor resource to support collecting metrics via the Prometheus Operator.
serviceMonitor.endpointConfigobject{}Additional endpoint configuration for the service monitor endpoint.
serviceMonitor.intervalintnilDEPRECATED - Prometheus scrape interval for the service monitor endpoint.
terminationGracePeriodSecondsintnilTermination grace period for the pod in seconds.
tolerationslist[]Node taints that will be tolerated for scheduling.
topologySpreadConstraintslist[]Topology spread constraints for scheduling. If an explicit label selector is not provided one will be created from the pod selector labels.
uninstall.enabledbooltrueIf true, run a Job as a pre-delete Helm hook to make sure that Tigera Operator can be uninstalled.
whisker.enabledboolfalseIf true, install a Whisker observability UI according to the whisker.spec.
whisker.specobject{}Whisker Spec to enable the observability UI.

Autogenerated from chart metadata using helm-docs.

Deploy tigera-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tigera-operator 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 charttigera-operator is pinned at v2.15.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