From 2c43e57ed2b2126e5ce1b8ac43a08a37d402a2bc Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Wed, 29 Jul 2026 22:06:59 +1000 Subject: [PATCH] Fix gitea-http Service targetPort (chart renders null) The chart leaves the http Service targetPort null (defaults to the port name, which kustomize drops), failing strict kubeconform. Pin it to 3000 via a kustomize patch. Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv --- apps/overlays/au-syd1/gitea/kustomization.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/overlays/au-syd1/gitea/kustomization.yaml b/apps/overlays/au-syd1/gitea/kustomization.yaml index f4dd16b..afbfa81 100644 --- a/apps/overlays/au-syd1/gitea/kustomization.yaml +++ b/apps/overlays/au-syd1/gitea/kustomization.yaml @@ -27,3 +27,14 @@ patches: kind: Pod metadata: name: gitea-test-connection + # The chart renders the http Service with `targetPort: null` (it defaults the + # target to the port name, which kustomize drops); pin it to 3000 so the + # manifest is valid and the HTTPRoute backend resolves. + - target: + version: v1 + kind: Service + name: gitea-http + patch: |- + - op: replace + path: /spec/ports/0/targetPort + value: 3000