From 855defe739ac311985e8343d1909e2eb1590eebe Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Thu, 16 Apr 2026 09:05:19 +0200 Subject: [PATCH] Add gateway API group to HTTPRoute configuration so that argocd does not display an "out of sync" error. Ensure that the HTTPRoute resource specifies the correct API group for services in the Kubernetes Gateway API. The `group` field under `backendRefs` has been added to the `server-httproute.yaml` file to align with the specifications of Gateway API. Additionally, formatting adjustments were made in `values.yaml` to maintain consistency in indentation and string formatting for readability. This includes the modification in the `hosts` section and the `matches` section where path values are standardized. These updates are necessary for compliance with the Kubernetes Gateway API specifications, enabling successful routing of traffic via the defined service references. No breaking changes are introduced with this update. See on GitHub for release notes. --- charts/openbao/templates/server-httproute.yaml | 1 + charts/openbao/values.yaml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/openbao/templates/server-httproute.yaml b/charts/openbao/templates/server-httproute.yaml index ab840b4..b672cc6 100644 --- a/charts/openbao/templates/server-httproute.yaml +++ b/charts/openbao/templates/server-httproute.yaml @@ -34,6 +34,7 @@ spec: rules: - backendRefs: - kind: Service + group: gateway.networking.k8s.io name: {{ $serviceName }} port: {{ $servicePort }} matches: diff --git a/charts/openbao/values.yaml b/charts/openbao/values.yaml index 93ff337..c0230e9 100644 --- a/charts/openbao/values.yaml +++ b/charts/openbao/values.yaml @@ -500,7 +500,7 @@ server: # external-dns.alpha.kubernetes.io/hostname: chart-example.local hosts: - - chart-example.local + - chart-example.local # Allows overriding the HTTPRoute apiVersion in case a different version of Gateway API is installed on the cluster. apiVersion: gateway.networking.k8s.io/v1 @@ -513,6 +513,7 @@ server: # this should be set to at least one gateway with one or more HTTP listeners parentRefs: [] # - name: my-gw + # group: gateway.networking.k8s.io # namespace: gateway-namespace # # sectionName is optional to fix to a specific listener # sectionName: listener-name @@ -520,7 +521,7 @@ server: matches: path: type: PathPrefix - value: '/' + value: "/" timeouts: {} # request: 10s #Maximum time the Gateway waits to complete the full client request and response cycle. # backendRequest: 10s # Maximum time the Gateway waits for a response from the backend service.