stack.basicstack.de/apps/pangolin
CTO Agent 672387e678 fix(pangolin): Reconnect controller to fresh Postgres Pangolin, route via internal API port 3001
DEV-452. After the SQLite -> Postgres migration in DEV-451 the pangolin
initial setup was redone, so the controller's stale bearer token was
invalid. That was only half the problem: /api/v1/traefik-config is
served exclusively by Pangolin's internal API (port 3001), not the
external dashboard API (port 3000). Pointing a Bearer request at port
3000 always returned 401 because that path lives on the session-auth
router. This has been the underlying cause of the controller's
CrashLoopBackOff, not just the stale key.

Changes:
- pangolin-controller-api-key-sealed.yaml: reseal new bearer token
  (kubeseal against sealed-secrets-controller in kube-system, includes
  the Bearer prefix expected by the controller).
- pangolin-controller-config.yaml: CONFIG_ENDPOINT now targets
  http://pangolin.pangolin.svc.cluster.local:3001/api/v1/traefik-config.
- pangolin-deployment.yaml: Service now exposes port 3001 as the
  "internal" port so in-cluster clients (kube-controller) can reach it.
  Ingress still only routes / and /api to ports 3002/3000; port 3001
  is not published to the internet.
- pangolin-controller-deployment.yaml: replicas back to 1, dropped the
  temporary "scaled to 0" comment block.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-08-08 11:35:02 +00:00
..
.gitkeep Add Pangolin repository structure and DNS configuration 2026-07-26 11:58:00 +00:00
namespace.yaml Add Pangolin repository structure and DNS configuration 2026-07-26 11:58:00 +00:00
pangolin-config.yaml fix(pangolin): Render postgres.connection_string into config.yml at startup 2026-08-08 11:17:40 +00:00
pangolin-controller-api-key-sealed.yaml fix(pangolin): Reconnect controller to fresh Postgres Pangolin, route via internal API port 3001 2026-08-08 11:35:02 +00:00
pangolin-controller-config.yaml fix(pangolin): Reconnect controller to fresh Postgres Pangolin, route via internal API port 3001 2026-08-08 11:35:02 +00:00
pangolin-controller-deployment.yaml fix(pangolin): Reconnect controller to fresh Postgres Pangolin, route via internal API port 3001 2026-08-08 11:35:02 +00:00
pangolin-controller-rbac.yaml Add missing Traefik CRD permissions to pangolin-controller RBAC 2026-08-02 10:14:20 +00:00
pangolin-controller-service.yaml refactor(pangolin): Move controller manifests to app root for Argo CD 2026-08-01 15:52:49 +00:00
pangolin-deployment.yaml fix(pangolin): Reconnect controller to fresh Postgres Pangolin, route via internal API port 3001 2026-08-08 11:35:02 +00:00
pangolin-paperclip-configuration-guide-community.md Add Pangolin Community Edition configuration guide for paperclip.basicstack.de 2026-08-02 13:11:01 +00:00
pangolin-postgres-secrets-sealed.yaml feat(pangolin): Switch Pangolin database from SQLite to PostgreSQL 2026-08-08 11:14:43 +00:00
pangolin-secrets-sealed.yaml Add Pangolin Kubernetes manifests 2026-07-26 12:09:07 +00:00
postgres.yaml feat(pangolin): Switch Pangolin database from SQLite to PostgreSQL 2026-08-08 11:14:43 +00:00