From 3975dcd23c71fd13dd99813aef9f3266544f7adf Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 30 Oct 2026 18:19:17 +0600 Subject: [PATCH] Always render EnvoyProxy in service-gateway The EnvoyProxy CRD is installed by the voyager-gateway crd-manager pre-install hook. Under Argo CD the chart is rendered before that hook runs, so the Capabilities check dropped the EnvoyProxy object on first install and the GatewayClass pointed at a missing parametersRef. Signed-off-by: Arnob kumar saha --- charts/service-gateway/templates/gateway/gwclass.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/service-gateway/templates/gateway/gwclass.yaml b/charts/service-gateway/templates/gateway/gwclass.yaml index 6f6fa5fe3..64da9aee5 100644 --- a/charts/service-gateway/templates/gateway/gwclass.yaml +++ b/charts/service-gateway/templates/gateway/gwclass.yaml @@ -28,13 +28,15 @@ spec: name: {{ include "tenant.name" . }} namespace: {{ .Release.Namespace }} {{- end }} -{{- if .Capabilities.APIVersions.Has "gateway.envoyproxy.io/v1alpha1/EnvoyProxy" }} --- apiVersion: gateway.envoyproxy.io/v1alpha1 kind: EnvoyProxy metadata: name: {{ include "tenant.name" . }} namespace: {{ .Release.Namespace }} + annotations: + # CRD is installed by the crd-manager pre-install hook, after Argo CD's dry-run + argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: mergeGateways: true provider: @@ -122,4 +124,3 @@ spec: externalIPs: {{- toYaml .Values.envoy.service.externalIPs | nindent 14 }} {{- end }} type: {{ .Values.envoy.service.type }} -{{- end }}