Compare commits

..

2 Commits

Author SHA1 Message Date
Vaibhav Pathak
c29e1fce46 Fix CloudSQL proxy labels to not match Backstage service selector
The CloudSQL proxy pod was using backstage.selectorLabels which made it
match the Backstage service selector (app.kubernetes.io/name: backstage,
app.kubernetes.io/instance: backstage). This caused Traefik to sometimes
route requests to the CloudSQL proxy instead of Backstage, resulting in
502 errors.

Changed pod labels to use distinct values (backstage-cloudsql-proxy)
so the pod is not selected by the Backstage service.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 16:36:03 +05:30
Vaibhav Pathak
0590bcb704 ingress disabled 2026-02-12 14:11:41 +05:30
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@ spec:
metadata:
labels:
app: backstage-cloudsql-proxy
{{- include "backstage.selectorLabels" . | nindent 8 }}
app.kubernetes.io/name: backstage-cloudsql-proxy
app.kubernetes.io/instance: backstage-cloudsql-proxy
spec:
serviceAccountName: {{ .Values.cloudSqlProxyServiceAccount.name }}
automountServiceAccountToken: true

View File

@ -19,8 +19,9 @@ service:
targetPort: 7007
# Ingress configuration
# Disabled - using HTTPRoute (Gateway API) instead via Terraform
ingress:
enabled: true
enabled: false
className: nginx
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"