fix(lab-director): remove subPath mount for claude OAuth credentials #151

Merged
aaron merged 4 commits from fix/lab-director-remove-subpath-mount into live 2026-04-04 03:25:25 +00:00
Owner

Remove subPath volume mount for claude-oauth secret. K8s subPath mounts never auto-update. Token manager now writes credentials directly to local filesystem.

Remove subPath volume mount for claude-oauth secret. K8s subPath mounts never auto-update. Token manager now writes credentials directly to local filesystem.
- Add condition to exclude job =~ "outline/.*" from CNPGLastBackupOld alert
- Prevents false alerts for outline cluster where B2 backups are intentionally disabled
- Outline cluster relies on Longhorn snapshots instead of WAL archival (HOMELAB-590)
- Use label selector {namespace!="outline"} instead of complex expressions
- Excludes metrics from outline namespace to prevent false alerts
- Resolves HOMELAB-705 WAL archive delay alert for intentionally disabled backups
- Increase terminationGracePeriodSeconds from 60s to 300s for proper DinD cleanup
- Add graceful preStop hooks for both sandbox and dind containers
- Add node affinity configuration support for RWO volume placement
- Prevent FailedKillPod errors when stopping nested Docker containers

Resolves: HOMELAB-713

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
fix(lab-director): remove subPath mount for claude OAuth credentials
Some checks failed
0/0 projects applied successfully.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
71ff164de0
K8s subPath mounts never auto-update when the underlying secret changes.
The token manager now writes credentials directly to the local filesystem,
making the volume mount unnecessary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aaron merged commit 1f65fbf6c0 into live 2026-04-04 03:25:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!151
No description provided.