Commit Graph
16 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 284ecc4581 Remove unused gitea MCP deployment
Demo / hello (push) Successful in 13s
It was never included from main.yml, used an invalid apiVersion for the
Deployment and exposed mcp.gitea.eom.dev publicly. The MCP servers now
live in ansible-role-mcp-servers, cluster-internal only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:12:26 -05:00
ClaudeandClaude Opus 5.5 6144791cb9 Gitea: declare the Dex login source in Helm values
Demo / hello (push) Successful in 12s
Records the source that was configured live with gitea admin auth:
OIDC discovery from Dex, groups scope, and login restricted to members
of Gitea Users via the groups claim. Needs gitea_dex_client_secret in
Vault (the same secret as Dex's gitea client).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 19:12:03 -05:00
ericandClaude Opus 5.5 170c3a069e Gitea: keep off the node that hosts ingress-nginx
Demo / hello (push) Successful in 17s
Sharing the 1-CPU ingress node with Nextcloud starved it into a
restart loop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:22:16 -05:00
ericandClaude Opus 5.5 5702010a3d Gitea: sign in only through Dex, send sign-up to /members
Demo / hello (push) Successful in 13s
Disable the password sign-in form so /user/login redirects to Dex,
keep registration enabled for Dex auto-registration, and redirect
/user/sign_up to www.eom.dev/members at the ingress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 17:56:00 -05:00
ClaudeandClaude Opus 5.5 f56eab28af Poll for gitea rollout instead of using rollout status
Demo / hello (push) Successful in 20s
`kubectl rollout status` fails immediately once a rollout has exceeded
its progress deadline, even if the new pod is about to become ready.
Poll the deployment until replicas, updated and available counts agree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:31:04 -05:00
ClaudeandClaude Opus 5.5 b81a2d64d0 Pin valkey/postgresql resources; harden runner token step
The live valkey and postgresql StatefulSets had memory limits raised by
hand (8Gi and 2Gi). A helm upgrade reverts those to the bitnami 192Mi
preset, and valkey then OOMs loading its ~3.3GB dataset. Move the limits
into role defaults so upgrades keep them.

Generate the runner token with kubectl exec against the deployment after
waiting for its rollout, with retries, instead of kubernetes.core.k8s_exec
(the control plane's kubernetes python client is too old for it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:05:10 -05:00
ClaudeandClaude Opus 5.5 0f1ed99dfc Log real client IPs and enable Gitea Actions with a runner
Demo / hello (push) Successful in 18s
- Trust X-Forwarded-For from the pod network (10.244.0.0/16) via
  security.REVERSE_PROXY_TRUSTED_PROXIES / REVERSE_PROXY_LIMIT so Gitea
  logs the external client address instead of the ingress-nginx pod IP.
- Set actions.ENABLED explicitly and deploy an instance-wide runner via
  the gitea/actions chart (release "gitea-actions", pinned to 0.1.2).
  The registration token is generated in-cluster and stored in a Secret
  on first run, so no token lives in git or the vault.
- Fix the old actions.yaml, which reused the "gitea" release name and
  would have clobbered the main Gitea release.
- Add a demo workflow (.gitea/workflows/demo.yaml).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 12:56:58 -05:00
eric 9f46e92cd7 Catppuccin 2026-10-26 18:55:54 -04:00
eric a87baf2325 Update 2026-10-23 11:23:04 -04:00
eric 14c6c5685b Valkey single instance 2026-08-02 20:52:07 -04:00
eric 990ccfef17 Increase max upload size 2026-06-17 14:59:56 -04:00
eric 64ce43ecfb Removed server snippet 2026-05-28 15:07:46 -04:00
eric 04d64be9a3 Allow only external registration; closes DevOps/ansible-role-gitea#2 2026-05-20 11:40:39 -04:00
eric 8de7e69a12 Combating spam 2026-04-12 19:09:32 -04:00
eric 3f2ba175e4 mcp 2026-03-02 11:36:38 -05:00
eric b9f615dcb3 Initial commit 2026-02-27 17:30:50 -05:00