values.yaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # Copyright (c) Tailscale Inc & AUTHORS
  2. # SPDX-License-Identifier: BSD-3-Clause
  3. # Operator oauth credentials. If set a Kubernetes Secret with the provided
  4. # values will be created in the operator namespace. If unset a Secret named
  5. # operator-oauth must be precreated.
  6. oauth: {}
  7. # clientId: ""
  8. # clientSecret: ""
  9. # installCRDs determines whether tailscale.com CRDs should be installed as part
  10. # of chart installation. We do not use Helm's CRD installation mechanism as that
  11. # does not allow for upgrading CRDs.
  12. # https://helm.sh/docs/chart_best_practices/custom_resource_definitions/
  13. installCRDs: true
  14. operatorConfig:
  15. # ACL tag that operator will be tagged with. Operator must be made owner of
  16. # these tags
  17. # https://tailscale.com/kb/1236/kubernetes-operator/?q=operator#setting-up-the-kubernetes-operator
  18. # Multiple tags are defined as array items and passed to the operator as a comma-separated string
  19. defaultTags:
  20. - "tag:k8s-operator"
  21. image:
  22. # Repository defaults to DockerHub, but images are also synced to ghcr.io/tailscale/k8s-operator.
  23. repository: tailscale/k8s-operator
  24. # Digest will be prioritized over tag. If neither are set appVersion will be
  25. # used.
  26. tag: ""
  27. digest: ""
  28. pullPolicy: Always
  29. logging: "info" # info, debug, dev
  30. hostname: "tailscale-operator"
  31. nodeSelector:
  32. kubernetes.io/os: linux
  33. resources: {}
  34. podAnnotations: {}
  35. podLabels: {}
  36. tolerations: []
  37. affinity: {}
  38. podSecurityContext: {}
  39. securityContext: {}
  40. extraEnv: []
  41. # - name: EXTRA_VAR1
  42. # value: "value1"
  43. # - name: EXTRA_VAR2
  44. # value: "value2"
  45. # In the case that you already have a tailscale ingressclass in your cluster (or vcluster), you can disable the creation here
  46. ingressClass:
  47. enabled: true
  48. # proxyConfig contains configuraton that will be applied to any ingress/egress
  49. # proxies created by the operator.
  50. # https://tailscale.com/kb/1439/kubernetes-operator-cluster-ingress
  51. # https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
  52. # Note that this section contains only a few global configuration options and
  53. # will not be updated with more configuration options in the future.
  54. # If you need more configuration options, take a look at ProxyClass:
  55. # https://tailscale.com/kb/1445/kubernetes-operator-customization#cluster-resource-customization-using-proxyclass-custom-resource
  56. proxyConfig:
  57. image:
  58. # Repository defaults to DockerHub, but images are also synced to ghcr.io/tailscale/tailscale.
  59. repository: tailscale/tailscale
  60. # Digest will be prioritized over tag. If neither are set appVersion will be
  61. # used.
  62. tag: ""
  63. digest: ""
  64. # ACL tag that operator will tag proxies with. Operator must be made owner of
  65. # these tags
  66. # https://tailscale.com/kb/1236/kubernetes-operator/?q=operator#setting-up-the-kubernetes-operator
  67. # Multiple tags can be passed as a comma-separated string i.e 'tag:k8s-proxies,tag:prod'.
  68. # 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
  69. defaultTags: "tag:k8s"
  70. firewallMode: auto
  71. # If defined, this proxy class will be used as the default proxy class for
  72. # service and ingress resources that do not have a proxy class defined. It
  73. # does not apply to Connector resources.
  74. defaultProxyClass: ""
  75. # apiServerProxyConfig allows to configure whether the operator should expose
  76. # Kubernetes API server.
  77. # https://tailscale.com/kb/1437/kubernetes-operator-api-server-proxy
  78. apiServerProxyConfig:
  79. mode: "false" # "true", "false", "noauth"
  80. imagePullSecrets: []