ops: run host scripts with bash and adopt EndpointSlice #21

Merged
PerishFire merged 1 commit from ops-bash-and-endpointslice into main 2026-07-17 02:31:53 +00:00
Owner

Two ops-surface fixes found by exercising the PR #18 recipes end-to-end:

  • The cold-host recipe invoked the three bash host scripts with sh; dash on hk-03 rejects set -o pipefail, so the recipe exits 2 as written. The recipe now says bash (register-authentik.sh is genuine POSIX sh and keeps sh).
  • The window Service backend moves from the deprecated v1 Endpoints to a discovery.k8s.io/v1 EndpointSlice (k8s deprecates Endpoints in 1.33+; cluster traefik 3.6.13 consumes slices). Validated with a server-side dry-run against the live k3s (v1.35.5+k3s1): Deployment/Service unchanged, slice schema accepted. A one-time migration note (apply, then delete the legacy Endpoints object) rides in the manifest comment; live application is a separate ops step.

🤖 Generated with Claude Code

Two ops-surface fixes found by exercising the PR #18 recipes end-to-end: - The cold-host recipe invoked the three bash host scripts with `sh`; dash on hk-03 rejects `set -o pipefail`, so the recipe exits 2 as written. The recipe now says `bash` (register-authentik.sh is genuine POSIX sh and keeps `sh`). - The window Service backend moves from the deprecated `v1 Endpoints` to a `discovery.k8s.io/v1 EndpointSlice` (k8s deprecates Endpoints in 1.33+; cluster traefik 3.6.13 consumes slices). Validated with a server-side dry-run against the live k3s (v1.35.5+k3s1): Deployment/Service unchanged, slice schema accepted. A one-time migration note (apply, then delete the legacy Endpoints object) rides in the manifest comment; live application is a separate ops step. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ops: run host scripts with bash and adopt EndpointSlice
All checks were successful
guard / guard (pull_request) Successful in 5m3s
4d44ba5182
The cold-host recipe invoked the bash host scripts with sh; dash on
hk-03 rejects `set -o pipefail`, so the recipe failed as written.

The window Service backend moves from the deprecated v1 Endpoints to a
discovery.k8s.io/v1 EndpointSlice (traefik 3.6.13 consumes slices;
verified by server-side dry-run against k8s v1.35.5+k3s1). Migration
note for the legacy object rides in the manifest comment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PerishFire deleted branch ops-bash-and-endpointslice 2026-07-17 02:31:53 +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
PerishFire/santi!21
No description provided.