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