feat: Gateway API support, in lieu of Ingress
This commit is contained in:
@@ -471,3 +471,12 @@ https
|
||||
{{- define "gitea.metrics-secret-name" -}}
|
||||
{{ default (printf "%s-metrics-secret" (include "gitea.fullname" .)) }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Validate that Ingress and Gateway HTTPRoute are not enabled at the same time
|
||||
*/}}
|
||||
{{- define "gitea.validate-ingress-gateway-conflict" -}}
|
||||
{{- if and ((.Values.ingress).enabled) (((.Values.gateway).httpRoute).enabled) -}}
|
||||
{{- fail "You cannot enable both Ingress and HTTPRoute at the same time" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user