Make the deployment of an IngressClass optional, default to true (#14153)

Fixes tailscale/tailscale#14152
Signed-off-by: James Stocker jamesrstocker@gmail.com

Co-authored-by: James Stocker <james.stocker@intenthq.co.uk>
pull/14164/head
James Stocker 5 days ago committed by GitHub
parent 9f33aeb649
commit 303a4a1dfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,4 @@
{{- if .Values.ingressClass.enabled }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: IngressClass kind: IngressClass
metadata: metadata:
@ -6,3 +7,4 @@ metadata:
spec: spec:
controller: tailscale.com/ts-ingress # controller name currently can not be changed controller: tailscale.com/ts-ingress # controller name currently can not be changed
# parameters: {} # currently no parameters are supported # parameters: {} # currently no parameters are supported
{{- end }}

@ -54,6 +54,9 @@ operatorConfig:
# - name: EXTRA_VAR2 # - name: EXTRA_VAR2
# value: "value2" # value: "value2"
# In the case that you already have a tailscale ingressclass in your cluster (or vcluster), you can disable the creation here
ingressClass:
enabled: true
# proxyConfig contains configuraton that will be applied to any ingress/egress # proxyConfig contains configuraton that will be applied to any ingress/egress
# proxies created by the operator. # proxies created by the operator.

Loading…
Cancel
Save