fix: helm chart, a few fixes to gateway and httroute after prod testing

This commit is contained in:
spwoodcock
2026-02-02 21:21:53 +00:00
parent 220d5d59c3
commit 655ac7ed08
3 changed files with 40 additions and 16 deletions

View File

@@ -1,9 +1,14 @@
{{- if .Values.gateway.enabled -}}
{{- $gatewayName := .Values.gateway.name -}}
{{- if not $gatewayName -}}
{{- $gatewayName = printf "%s-gateway" (include "chart.fullname" .) -}}
{{- end -}}
{{- $gatewayNs := default .Release.Namespace .Values.gateway.namespace -}}
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: {{ default (include "chart.fullname" .) .Values.gateway.name }}
namespace: {{ default .Release.Namespace .Values.gateway.namespace }}
name: {{ $gatewayName }}
namespace: {{ $gatewayNs }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.gateway.annotations }}