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>
This commit is contained in:
James Stocker
2024-11-20 07:43:59 +01:00
committed by GitHub
parent 9f33aeb649
commit 303a4a1dfb
2 changed files with 5 additions and 0 deletions

View File

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