diff --git a/Makefile b/Makefile index 63d62b2..1aea9f8 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ KUBECONFORM ?= kubeconform PYTHON ?= python3 REGISTRY ?= git.noelsabia.dev -OWNER ?= noelsabia +OWNER ?= noel TAG ?= gate1 WEB_IMAGE ?= $(REGISTRY)/$(OWNER)/pulsecast-web:$(TAG) API_IMAGE ?= $(REGISTRY)/$(OWNER)/pulsecast-api:$(TAG) diff --git a/README.md b/README.md index 4bcb512..49ea0f0 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,10 @@ hostname, and verification steps. human prerequisites. - All three images build and pass local manifest-equivalent runtime checks (read-only root, `/tmp` tmpfs, numeric UID). There is no Dockerfile blocker. -- Still human-only: Gitea read-only token + hello image pull, `gitea-regcred`, - Cloudflare Tunnel + DNS hostnames, and the three Secrets. +- Gitea pull is proven: `gitea-regcred` exists and the hello pod pulled from + `git.noelsabia.dev/noel/hello:gate1`; the Service returned HTTP 200. +- Still human-only: Cloudflare Tunnel + DNS hostnames, `cloudflared` and + `control-auth` Secrets, then image push/deploy/smoke. ## CI diff --git a/deploy/k8s/10-ml.yaml b/deploy/k8s/10-ml.yaml index ee21180..2718ddb 100644 --- a/deploy/k8s/10-ml.yaml +++ b/deploy/k8s/10-ml.yaml @@ -35,7 +35,7 @@ spec: fsGroup: 10001 containers: - name: ml - image: git.noelsabia.dev/noelsabia/pulsecast-ml:gate1 + image: git.noelsabia.dev/noel/pulsecast-ml:gate1 # Gate 1 reuses the `gate1` tag while iterating; Always makes a re-push visible. # Switch to an immutable tag + IfNotPresent at deploy freeze. imagePullPolicy: Always diff --git a/deploy/k8s/20-api.yaml b/deploy/k8s/20-api.yaml index fdafb5a..dcf03f0 100644 --- a/deploy/k8s/20-api.yaml +++ b/deploy/k8s/20-api.yaml @@ -36,7 +36,7 @@ spec: fsGroup: 65532 containers: - name: api - image: git.noelsabia.dev/noelsabia/pulsecast-api:gate1 + image: git.noelsabia.dev/noel/pulsecast-api:gate1 # Gate 1 reuses the `gate1` tag while iterating; Always makes a re-push visible. # Switch to an immutable tag + IfNotPresent at deploy freeze. imagePullPolicy: Always diff --git a/deploy/k8s/30-web.yaml b/deploy/k8s/30-web.yaml index e5f82c5..672032a 100644 --- a/deploy/k8s/30-web.yaml +++ b/deploy/k8s/30-web.yaml @@ -39,7 +39,7 @@ spec: containers: - name: web # Replace owner/package only if your Gitea layout differs. Keep the tag in sync with `make build`. - image: git.noelsabia.dev/noelsabia/pulsecast-web:gate1 + image: git.noelsabia.dev/noel/pulsecast-web:gate1 # Gate 1 reuses the `gate1` tag while iterating; Always makes a re-push visible. # Switch to an immutable tag + IfNotPresent at deploy freeze. imagePullPolicy: Always diff --git a/docs/deploy.md b/docs/deploy.md index eb1e1ff..175d075 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -35,9 +35,10 @@ Findings from `CLUSTER-SMOKE.md`; re-check before trusting this snapshot: `api.pulse.noelsabia.dev` have no records. That is expected until the Cloudflare Tunnel public hostnames are created. - **No tunnel yet:** Cloudflare Tunnel has not been created. -- **Gitea pull auth is untested:** the network path works, but no - `gitea-regcred` image pull has succeeded because the read-only token does - not exist yet. The hello pod in Step 2 is the first proof. +- **Gitea pull is proven (2026-11-14 ~06:16 CET):** `gitea-regcred` exists and + the cluster pulled `git.noelsabia.dev/noel/hello:gate1` in 120 ms; the hello + pod is `1/1 Running` and its Service returned HTTP 200. The Gitea owner is + `noel`. - **QUIC/UDP 7844 is untested.** TCP/443 to Cloudflare works, so the `cloudflared` manifest uses `--protocol http2` instead of relying on unverified UDP. @@ -54,8 +55,8 @@ Findings from `CLUSTER-SMOKE.md`; re-check before trusting this snapshot: | Step | Who | Status | |---|---|---| | Read-only cluster/manifest check | agent or human | **ready now** (`make gate1-check`) | -| Gitea push login + hello-world push | human | **ready now**; registry auth still untested | -| `gitea-regcred`, `cloudflared`, `control-auth` Secrets | human | **ready now** (needs token) | +| Gitea push login + hello-world push | human | **done**; hello pull and Service verified | +| `gitea-regcred`, `cloudflared`, `control-auth` Secrets | human | `gitea-regcred` **done**; `cloudflared`/`control-auth` pending | | Cloudflare Tunnel + public hostnames/DNS | human | **blocked on human** — not created; DNS absent | | `api` image | human | **ready** — `make build-api` + manifest-equivalent run verified locally | | `ml` image | human | **ready** — `make build-ml` + manifest-equivalent run verified locally | @@ -77,14 +78,16 @@ export KUBECONFIG="/home/noel/Documents/Hackathon_2026/OKF_Vault/fch26-onemanarm export NS="fch26-onemanarmy" export CTX="fch26-onemanarmy-sa-context" export REGISTRY="git.noelsabia.dev" -export OWNER="noelsabia" +export OWNER="noel" export TAG="gate1" chmod 600 "$KUBECONFIG" ``` The kubeconfig is **not in this repo**. If it moved, change the path; never -commit it or paste its contents anywhere. +commit it or paste its contents anywhere. The Gitea owner for this workspace +is `noel`; if your account differs, set `OWNER` and the image paths +consistently. Check the local tools: @@ -477,9 +480,9 @@ Each service image must: | Service | Image | Port | UID:GID | Health paths | |---|---|---|---|---| -| web | `git.noelsabia.dev/noelsabia/pulsecast-web:gate1` | 3000 | `10001:10001` | `/` | -| api | `git.noelsabia.dev/noelsabia/pulsecast-api:gate1` | 8080 | `65532:65532` | `/api/healthz`, `/api/readyz` | -| ml | `git.noelsabia.dev/noelsabia/pulsecast-ml:gate1` | 8000 | `10001:10001` | `/healthz`, `/readyz` | +| web | `git.noelsabia.dev/noel/pulsecast-web:gate1` | 3000 | `10001:10001` | `/` | +| api | `git.noelsabia.dev/noel/pulsecast-api:gate1` | 8080 | `65532:65532` | `/api/healthz`, `/api/readyz` | +| ml | `git.noelsabia.dev/noel/pulsecast-ml:gate1` | 8000 | `10001:10001` | `/healthz`, `/readyz` | The manifests set `runAsUser`/`runAsGroup`/`fsGroup` explicitly, so the image's named user is irrelevant; the files must be readable by that numeric UID. diff --git a/scripts/gate1-check.sh b/scripts/gate1-check.sh index c544870..3355e0f 100755 --- a/scripts/gate1-check.sh +++ b/scripts/gate1-check.sh @@ -19,7 +19,7 @@ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" NS="${NS:-fch26-onemanarmy}" CONTEXT="${CONTEXT:-fch26-onemanarmy-sa-context}" REGISTRY="${REGISTRY:-git.noelsabia.dev}" -OWNER="${OWNER:-noelsabia}" +OWNER="${OWNER:-noel}" TAG="${TAG:-gate1}" CHECK_PUBLIC="${CHECK_PUBLIC:-0}" ALLOW_PENDING="${ALLOW_PENDING:-0}"