Skip to content

feat(dieu-dev): workload chart + preview.dieu.dev HTTPRoute - #39

Merged
jonathandieu merged 1 commit into
mainfrom
feat/deploy-dieu-dev
Aug 19, 2026
Merged

feat(dieu-dev): workload chart + preview.dieu.dev HTTPRoute#39
jonathandieu merged 1 commit into
mainfrom
feat/deploy-dieu-dev

Conversation

@jonathandieu

Copy link
Copy Markdown
Owner

Deploy wiring for the portfolio site (dieu.dev repo, PR #2 / #3). Adds a workload
chart and registers it so ArgoCD runs the site on the cluster.

Changes

  • charts/workloads/dieu-dev/ — a static web frontend and the Go metrics API as two
    Deployments + Services, with one path-routed HTTPRoute (/api -> api, / -> web)
    parenting the Cilium public gateway. TLS is terminated by the gateway's *.dieu.dev
    wildcard, so no per-workload cert.
  • argocd/apps/workloads/appset.yaml — added dieu-dev. The appset targets clusters
    with purpose in [prod, stage]; only stage is registered today, so it lands there at
    preview.dieu.dev. A prod override would set hostname: dieu.dev.

Verified

helm lint passes, helm template renders all 5 resources, kubeconform reports 4
valid / 0 invalid (HTTPRoute skipped as a CRD).

Prerequisite before this can sync

Images reference ghcr.io/jonathandieu/dieu-dev-{web,api}, but CI currently builds
without pushing. Next step: add GHCR push (tagged by commit) so the images exist and
ArgoCD can pull them. If the GHCR packages are private, also wire an imagePullSecret
(imagePullSecrets value is already plumbed).

Related

Deploys the portfolio site as a workload: a static web frontend and the Go
metrics API, served under one hostname (web at /, api at /api via a path-routed
HTTPRoute parenting the Cilium public gateway). TLS is terminated by the gateway's
*.dieu.dev wildcard, so no per-workload cert is needed.

Added to the workloads appset, which targets clusters with purpose in [prod, stage];
only stage is registered today, so it lands there at preview.dieu.dev. A prod
override would set hostname dieu.dev.

Images reference ghcr.io/jonathandieu/dieu-dev-{web,api}; pushing those from CI to
GHCR (currently build-only) is the remaining prerequisite before this can sync.
@github-actions

Copy link
Copy Markdown

Helm template diff

Only in /tmp/head: dieu-dev.yaml
diff -u --recursive --label base --label head base head
--- base
+++ head
@@ -219,7 +219,7 @@
     app.kubernetes.io/managed-by: Helm
 type: Opaque
 data:
-  SECRET_KEY_BASE: aFl0eXJmU1BGbEdqWXF3M0lubWwxZERtVmpPNjNMQ0dBOWMxYmFoMDQ3aDB5eGNCODV5ZUJkbUxxMmFOanpFT3Q1NngxbE0wVXVNS2hrUWxoQ2traGtoOGtj
+  SECRET_KEY_BASE: bWhEUlgyZTBTd1JzQjhTM1lXbXFEUG1qb052UUFNWE90QkJ6VTRBN3ZuSTVsRGRNdEtMTWtoMk42elR6cGJaTTJucHNaZUJmcVc4enJvQXd3NGRIclFsZUNC
   TOTP_VAULT_KEY: ZHN4dmJuM2p4RGQxNmF6MlFwc1g1QjhPK2xseGpRMlNKRTJpNUJ6eDM4ST0=
   DATABASE_URL: cG9zdGdyZXM6Ly9wb3N0Z3Jlczpwb3N0Z3Jlc0BwbGF1c2libGUtcG9zdGdyZXNxbDo1NDMyL3BsYXVzaWJsZV9kYg==
   CLICKHOUSE_DATABASE_URL: aHR0cDovL2NsaWNraG91c2U6cGFzc3dvcmRAcGxhdXNpYmxlLWNsaWNraG91c2U6ODEyMy9wbGF1c2libGVfZXZlbnRzX2Ri

@jonathandieu
jonathandieu marked this pull request as ready for review August 16, 2026 03:03
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jonathandieu
jonathandieu merged commit 1e45b13 into main Aug 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant