2023-10-30 18:18:09 +00:00
# Copyright (c) Tailscale Inc & AUTHORS
# SPDX-License-Identifier: BSD-3-Clause
# Operator oauth credentials. If set a Kubernetes Secret with the provided
# values will be created in the operator namespace. If unset a Secret named
2024-12-03 18:00:40 +01:00
# operator-oauth must be precreated or oauthSecretVolume needs to be adjusted.
# This block will be overridden by oauthSecretVolume, if set.
2023-11-22 11:02:54 +00:00
oauth : {}
# clientId: ""
# clientSecret: ""
2023-10-30 18:18:09 +00:00
2024-12-03 18:00:40 +01:00
# Secret volume.
# If set it defines the volume the oauth secrets will be mounted from.
# The volume needs to contain two files named `client_id` and `client_secret`.
# If unset the volume will reference the Secret named operator-oauth.
# This block will override the oauth block.
oauthSecretVolume : {}
# csi:
# driver: secrets-store.csi.k8s.io
# readOnly: true
# volumeAttributes:
# secretProviderClass: tailscale-oauth
#
## NAME is pre-defined!
2024-01-10 14:20:22 +00:00
# installCRDs determines whether tailscale.com CRDs should be installed as part
# of chart installation. We do not use Helm's CRD installation mechanism as that
# does not allow for upgrading CRDs.
# https://helm.sh/docs/chart_best_practices/custom_resource_definitions/
2024-03-25 15:11:55 -04:00
installCRDs : true
2024-01-10 14:20:22 +00:00
2023-10-30 18:18:09 +00:00
operatorConfig :
2024-01-19 16:22:23 -05:00
# ACL tag that operator will be tagged with. Operator must be made owner of
# these tags
# https://tailscale.com/kb/1236/kubernetes-operator/?q=operator#setting-up-the-kubernetes-operator
# Multiple tags are defined as array items and passed to the operator as a comma-separated string
defaultTags :
- "tag:k8s-operator"
2023-10-30 18:18:09 +00:00
image :
2024-06-07 16:18:44 +01:00
# Repository defaults to DockerHub, but images are also synced to ghcr.io/tailscale/k8s-operator.
2024-06-04 10:24:12 -06:00
repository : tailscale/k8s-operator
2023-10-30 18:18:09 +00:00
# Digest will be prioritized over tag. If neither are set appVersion will be
# used.
tag : ""
digest : ""
2023-11-22 11:02:54 +00:00
pullPolicy : Always
2023-12-18 10:28:06 +00:00
logging : "info" # info, debug, dev
2023-10-30 18:18:09 +00:00
hostname : "tailscale-operator"
nodeSelector :
kubernetes.io/os : linux
2023-11-22 11:02:54 +00:00
resources : {}
podAnnotations : {}
2024-05-01 05:37:21 -04:00
podLabels : {}
2023-11-22 11:02:54 +00:00
2024-12-03 18:00:40 +01:00
serviceAccountAnnotations : {}
# eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/tailscale-operator-role
2023-11-22 11:02:54 +00:00
tolerations : [ ]
affinity : {}
podSecurityContext : {}
securityContext : {}
2023-10-30 18:18:09 +00:00
2024-07-19 06:52:27 -07:00
extraEnv : [ ]
# - name: EXTRA_VAR1
# value: "value1"
# - name: EXTRA_VAR2
# value: "value2"
2024-11-20 07:43:59 +01:00
# In the case that you already have a tailscale ingressclass in your cluster (or vcluster), you can disable the creation here
ingressClass :
enabled : true
2024-07-19 06:52:27 -07:00
2023-10-30 18:18:09 +00:00
# proxyConfig contains configuraton that will be applied to any ingress/egress
# proxies created by the operator.
2024-09-25 14:15:42 -07:00
# https://tailscale.com/kb/1439/kubernetes-operator-cluster-ingress
# https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
2024-05-26 10:14:26 -04:00
# Note that this section contains only a few global configuration options and
# will not be updated with more configuration options in the future.
# If you need more configuration options, take a look at ProxyClass:
2024-09-25 14:15:42 -07:00
# https://tailscale.com/kb/1445/kubernetes-operator-customization#cluster-resource-customization-using-proxyclass-custom-resource
2023-10-30 18:18:09 +00:00
proxyConfig :
image :
2024-06-07 16:18:44 +01:00
# Repository defaults to DockerHub, but images are also synced to ghcr.io/tailscale/tailscale.
2024-06-04 10:24:12 -06:00
repository : tailscale/tailscale
2023-10-30 18:18:09 +00:00
# Digest will be prioritized over tag. If neither are set appVersion will be
# used.
tag : ""
digest : ""
# ACL tag that operator will tag proxies with. Operator must be made owner of
# these tags
# https://tailscale.com/kb/1236/kubernetes-operator/?q=operator#setting-up-the-kubernetes-operator
2023-12-18 10:28:06 +00:00
# Multiple tags can be passed as a comma-separated string i.e 'tag:k8s-proxies,tag:prod'.
# Note that if you pass multiple tags to this field via `--set` flag to helm upgrade/install commands you must escape the comma (for example, "tag:k8s-proxies\,tag:prod"). See https://github.com/helm/helm/issues/1556
defaultTags : "tag:k8s"
2023-10-30 18:18:09 +00:00
firewallMode : auto
2024-08-20 10:50:40 -04:00
# If defined, this proxy class will be used as the default proxy class for
2024-10-07 14:58:45 +01:00
# service and ingress resources that do not have a proxy class defined. It
2024-10-08 17:34:34 +01:00
# does not apply to Connector resources.
2024-08-20 10:50:40 -04:00
defaultProxyClass : ""
2023-10-30 18:18:09 +00:00
# apiServerProxyConfig allows to configure whether the operator should expose
# Kubernetes API server.
2024-09-25 14:15:42 -07:00
# https://tailscale.com/kb/1437/kubernetes-operator-api-server-proxy
2023-10-30 18:18:09 +00:00
apiServerProxyConfig :
mode : "false" # "true", "false", "noauth"
2023-11-22 11:02:54 +00:00
imagePullSecrets : [ ]