Commit Graph

128 Commits

Author SHA1 Message Date
github-actions[bot]
cf99112994 deploy: update catalyst images to 5c6cd1b 2026-05-02 15:45:50 +00:00
github-actions[bot]
74ec377c64 deploy: update catalyst images to 21247c8 2026-05-02 15:28:16 +00:00
github-actions[bot]
0d221db3bc deploy: update catalyst images to 169ba2f 2026-05-02 15:23:10 +00:00
github-actions[bot]
88099502c6 deploy: update catalyst images to b5c9839 2026-05-02 15:21:03 +00:00
e3mrah
b5c9839da7
feat(phase-8b): sovereign wizard auth-gate + handover JWT minting + Playwright CI fixes (#611)
Squash of PR #611 (feat/607) + PR #615 (feat/605) Phase-8b deliverables:

UI:
- AuthCallbackPage: mode-aware dispatch (catalyst-zero → magic-link server
  callback; sovereign → client-side OIDC token exchange via oidc.ts)
- Router: sovereign console routes (/console/*), DETECTED_MODE index redirect,
  authCallbackRoute dedup fix, authHandoverRoute safety net
- StepSuccess: mints RS256 handover JWT via POST /deployments/{id}/mint-handover-token
  before redirecting operator to Sovereign console (falls back to plain URL on error)

API:
- main.go: wires handoverjwt.LoadOrGenerate signer from CATALYST_HANDOVER_KEY_PATH env
- deployments.go: stamps HandoverJWTPublicKey from signer.PublicJWK() at create time
- provisioner.go: injects HandoverJWTPublicKey into Tofu vars JSON
- auth.go: /auth/handover endpoint for seamless single-identity flow

Infra:
- cloudinit-control-plane.tftpl: writes handover JWT public JWK to /var/lib/catalyst/
- variables.tf: handover_jwt_public_key variable (sensitive, default empty)

Chart:
- api-deployment.yaml / ui-deployment.yaml / values.yaml: expose handover JWT env vars

Playwright CI fixes:
- playwright-smoke.yaml / cosmetic-guards.yaml: health-check URL /sovereign/wizard → /wizard
- playwright.config.ts: BASEPATH default /sovereign → / + baseURL construction fix
- cosmetic-guards.spec.ts: provision URL /sovereign/provision/* → /provision/*
- sovereign-wizard.spec.ts: WIZARD_URL /sovereign/wizard → /wizard

Closes #605, #606, #607. Fixes Playwright CI (#142 sovereign wizard smoke tests).

Co-authored-by: e3mrah <e3mrah@openova.io>
2026-05-02 19:17:56 +04:00
github-actions[bot]
e56e6101b0 deploy: update catalyst images to f9a5a63 2026-05-02 15:12:09 +00:00
github-actions[bot]
f260a5b6ef deploy: update catalyst images to d2d293b 2026-05-02 15:09:42 +00:00
github-actions[bot]
9906b7571f deploy: update catalyst images to 973c13a 2026-05-02 15:07:16 +00:00
github-actions[bot]
091075a6a1 deploy: update catalyst images to 5035e92 2026-05-02 15:01:09 +00:00
github-actions[bot]
37e89ca159 deploy: update catalyst images to e64b6b6 2026-05-02 14:53:19 +00:00
github-actions[bot]
32145683a2 deploy: update catalyst images to 703887c 2026-05-02 14:46:39 +00:00
github-actions[bot]
9ae9ed34f7 deploy: update catalyst images to e051200 2026-05-02 14:39:32 +00:00
github-actions[bot]
61a5068b32 deploy: update catalyst images to 10c8e99 2026-05-02 14:31:07 +00:00
e3mrah
10c8e997c4
fix(catalyst): restore literal image refs in Kustomize-path deployment YAMLs (#614)
The feat/global-imageRegistry (#580) PR converted the literal image refs
in api-deployment.yaml and ui-deployment.yaml to Helm template expressions
({{ .Values.global.imageRegistry }}...) without updating the CI deploy step
to also patch those files. Since the catalyst-platform Flux Kustomization
reads these files as raw manifests (not via helm-controller), the Helm
template syntax was never rendered, leaving a literal '{{ if ... }}'
string as the image reference → InvalidImageName on every Pod start.

Root cause: two consumers of the same file — Helm chart path (Sovereign
clusters) and Kustomize path (contabo-mkt) — but only the Helm path was
handled by the deploy job.

Fix:
- Restore literal `ghcr.io/openova-io/openova/catalyst-{api,ui}:b50a600`
  image refs in the Kustomize-path deployment YAMLs (immediate unblock).
- Update CI deploy step to sed-patch those literal refs on every deploy
  commit so future image rolls keep both paths in sync (durable fix).

Closes: the InvalidImageName regression introduced in #580.
Unblocks: issue #608 (Phase-8b Agent A magic-link auth) — catalyst-api
was stuck at InvalidImageName since commit 83ec889f, preventing the
CATALYST_KC_ADDR / session-cookie auth gate from loading.

Co-authored-by: alierenbaysal <alierenbaysal@openova.io>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 18:29:09 +04:00
e3mrah
83ec889f06
feat(platform): add global.imageRegistry to remaining bp-* charts + bp-catalyst-platform (PR 3/3, #560) (#580)
Charts bumped:
- bp-keycloak 1.2.0 -> 1.2.1 (subchart stub; per-component image.registry knobs documented)
- bp-crossplane 1.1.3 -> 1.1.4 (subchart stub)
- bp-crossplane-claims 1.1.0 -> 1.1.1 (global.kubectlImage added; kubectl Job image templated; Hetzner ubuntu-24.04 server images intentionally untouched)
- bp-velero 1.2.0 -> 1.2.1 (subchart stub)
- bp-kyverno 1.0.0 -> 1.0.1 (subchart stub; per-controller image.registry knobs documented)
- bp-trivy 1.0.0 -> 1.0.1 (subchart stub; both operator + scanner image.registry knobs documented)
- bp-grafana 1.0.0 -> 1.0.1 (subchart stub)
- bp-flux 1.1.3 -> 1.1.4 (subchart stub; per-controller image.repository knobs documented)
- bp-catalyst-platform 1.1.13 -> 1.1.14 (global.imageRegistry + images.{catalystApi,catalystUi,marketplaceApi,console,smeTag} added; all 14 Catalyst-authored image refs templated: catalyst-api, catalyst-ui, marketplace-api, console + 10 SME services)

Post-handover per-Sovereign overlays set global.imageRegistry to harbor.<sovereign-fqdn> so every container image pull routes through the Sovereign's own Harbor proxy_cache.

Closes (partial): issue #560 — all 23 bp-* charts now carry global.imageRegistry

Co-authored-by: alierenbaysal <alierenbaysal@openova.io>
2026-05-02 13:21:53 +04:00
github-actions[bot]
0699d562d5 deploy: update catalyst images to ccc3898 2026-05-02 08:44:06 +00:00
e3mrah
b2307e290d
fix: bp-reflector + rename ghcr-pull-secret->ghcr-pull (Closes #543) (#554)
Part A — bp-reflector blueprint:
- Add clusters/_template/bootstrap-kit/05a-reflector.yaml (slot 05a,
  dependsOn bp-cert-manager) — installs emberstack/reflector v7.1.288
  via the bp-reflector OCI wrapper chart.
- Register in bootstrap-kit/kustomization.yaml.
- Add platform/reflector/chart/ wrapper (Chart.yaml + values.yaml):
  single replica, 32Mi memory, ServiceMonitor off by default.

Part B — annotate flux-system/ghcr-pull + rename in charts:
- infra/hetzner/cloudinit-control-plane.tftpl: add four Reflector
  annotations to the ghcr-pull Secret written at cloud-init time so
  Reflector auto-mirrors it to every namespace on first boot.
- Rename imagePullSecrets from ghcr-pull-secret to ghcr-pull in:
  api-deployment.yaml, ui-deployment.yaml,
  marketplace-api/deployment.yaml, and all 11 sme-services/*.yaml
  (14 total occurrences).
- Bump bp-catalyst-platform chart 1.1.12->1.1.13; update bootstrap-kit
  HelmRelease version reference to match.

Root cause: the canonical secret name is ghcr-pull (written by
cloud-init as /var/lib/catalyst/ghcr-pull-secret.yaml). Charts were
referencing ghcr-pull-secret (wrong name), causing ImagePullBackOff
on all Catalyst pods on every new Sovereign.

Runtime hotfix applied to otech22: both ghcr-pull and ghcr-pull-secret
propagated to 33 namespaces via kubectl; non-Running pods bounced.

Co-authored-by: hatiyildiz <hatiyildiz@openova.io>
2026-05-02 12:17:51 +04:00
github-actions[bot]
15e48c33a1 deploy: update catalyst images to 991b256 2026-05-02 08:08:03 +00:00
github-actions[bot]
65f212187d deploy: update catalyst images to 5b55d65 2026-05-02 07:57:46 +00:00
github-actions[bot]
cfe65b663d deploy: update catalyst images to db6c4c9 2026-05-02 06:51:49 +00:00
github-actions[bot]
560d18a4d9 deploy: update catalyst images to 30aa7af 2026-05-02 06:26:23 +00:00
github-actions[bot]
b20e08e103 deploy: update catalyst images to 5768924 2026-05-02 06:24:03 +00:00
github-actions[bot]
170610d0d7 deploy: update catalyst images to 2103c15 2026-05-02 06:16:04 +00:00
github-actions[bot]
15cb2d9802 deploy: update catalyst images to de3ef41 2026-05-02 06:10:02 +00:00
github-actions[bot]
273a2ef8d0 deploy: update catalyst images to d81effc 2026-05-02 05:43:46 +00:00
github-actions[bot]
cdf4af4421 deploy: update catalyst images to 41c69ba 2026-05-02 05:33:03 +00:00
github-actions[bot]
b8cdeaeb03 deploy: update catalyst images to 4e88abe 2026-05-02 05:17:32 +00:00
github-actions[bot]
5f5dc840e2 deploy: update catalyst images to 96dc2dc 2026-05-02 05:12:02 +00:00
alierenbaysal
96dc2dc76e deploy: update catalyst images to d28f8f7 2026-05-02 07:10:15 +02:00
github-actions[bot]
2f50f85d2b deploy: update catalyst images to 7acd7d7 2026-05-02 05:06:39 +00:00
github-actions[bot]
e26b673031 deploy: update catalyst images to a542572 2026-05-02 02:07:50 +00:00
github-actions[bot]
2f4c624bb9 deploy: update catalyst images to c148ef3 2026-05-01 20:50:37 +00:00
github-actions[bot]
b8c639127a deploy: update catalyst images to bd9103a 2026-05-01 20:40:08 +00:00
github-actions[bot]
bd9103aadc deploy: update catalyst images to 66ff717 2026-05-01 22:38:03 +02:00
github-actions[bot]
8457bf775e deploy: update catalyst images to a363f34 2026-05-01 20:32:14 +00:00
github-actions[bot]
c76b409c64 deploy: update catalyst images to 141dc9d 2026-05-01 20:11:03 +00:00
github-actions[bot]
0765e89ac6 deploy: update catalyst images to e6663f1 2026-05-01 19:26:11 +00:00
github-actions[bot]
5debb7dd8a deploy: update catalyst images to 0d75ae3 2026-05-01 18:50:32 +00:00
github-actions[bot]
5da604595d deploy: update catalyst images to 67a408f 2026-05-01 18:43:13 +00:00
github-actions[bot]
eb08e89168 deploy: update catalyst images to 7e35040 2026-05-01 18:32:43 +00:00
github-actions[bot]
419dfe4a65 deploy: update catalyst images to 1ea300d 2026-05-01 17:53:47 +00:00
github-actions[bot]
23418e6c9a deploy: update catalyst images to dfd7480 2026-05-01 17:12:30 +00:00
github-actions[bot]
56718e1655 deploy: update catalyst images to 9e2e768 2026-05-01 16:59:05 +00:00
github-actions[bot]
a59c169cff deploy: update catalyst images to e35729a 2026-05-01 16:46:27 +00:00
github-actions[bot]
8fdddafa17 deploy: update catalyst images to 52c6938 2026-05-01 16:36:25 +00:00
github-actions[bot]
f9954708bc deploy: update catalyst images to 18d5917 2026-05-01 15:55:04 +00:00
github-actions[bot]
c488d0afdb deploy: update catalyst images to 783f771 2026-05-01 15:34:49 +00:00
github-actions[bot]
b4bcf55814 deploy: update catalyst images to 3a34969 2026-05-01 15:29:16 +00:00
github-actions[bot]
c91a48f838 deploy: update catalyst images to 180a687 2026-05-01 14:50:31 +00:00
github-actions[bot]
ba93f96030 deploy: update catalyst images to 0511efb 2026-05-01 14:20:35 +00:00