feat: Gateway API support, in lieu of Ingress
commitlint / check-and-test (pull_request) Successful in 3s
check-and-test / check-and-test (pull_request) Failing after 36s

This commit is contained in:
2026-07-04 12:22:32 -04:00
parent 0bdf8c789d
commit 9d9ea09afb
9 changed files with 289 additions and 3 deletions
+9
View File
@@ -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 -}}