Skip to content

Remove the coolify client and label auth pods - #21

Merged
bulbashenko merged 2 commits into
mainfrom
cleanup-2026-10-14
Oct 14, 2026
Merged

bulbashenko merged 2 commits into
mainfrom
cleanup-2026-10-14

Conversation

@bulbashenko

Copy link
Copy Markdown
Collaborator

Two small cleanups in one PR (replaces #19 and #20).

1. Remove the OIDC client coolify (part of bulbashenko-com/infra#93)

  • Removed ory/hydra/clients/coolify.json, its entry in kustomization.yaml, and OIDC_COOLIFY_CLIENT_SECRET from the hydra-clients Job, compose.yml and e2e/test.env. README updated.
  • sync-clients.mjs deletes clients that have no file, so after the deploy the client disappears from Hydra too (Job log: deleted coolify).
  • After the deploy, the OIDC_COOLIFY_CLIENT_SECRET key in the auth Secret (infra, SOPS) is no longer used.

2. Ownership labels on pods (part of bulbashenko-com/infra#90, the other half is infra#126)

  • Kustomize labels with includeTemplates: true and includeSelectors: false: every pod template (hydra, keto, kratos, oathkeeper, sso-ui, Job hydra-clients) gets bulbashenko.com/layer=app and bulbashenko.com/app=auth. Selectors do not change.
  • On deploy the Deployments roll (one replica, maxSurge 1, no gap). The Job is recreated thanks to kustomize.toolkit.fluxcd.io/force.

kubectl kustomize .: OK.

🤖 Generated with Claude Code

bulbashenko and others added 2 commits October 14, 2026 23:05
Coolify is gone since the move to k3s (2026-10-12); its client and the
callback on coolify.int only widen what Hydra accepts. sync-clients deletes
clients that have no file, so the deploy removes it from Hydra too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Flux commonMetadata labels the objects from this repo but not their pod
templates, so kube_pod_labels has no bulbashenko.com/* for auth and the
"Главное" dashboard cannot group its CPU and memory. Selectors are left
alone, so the Deployments are updated in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bulbashenko
bulbashenko merged commit 80aa848 into main Oct 14, 2026
2 checks passed
@bulbashenko
bulbashenko deleted the cleanup-2026-10-14 branch October 14, 2026 21:14
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