HOMELAB-817: add hostname to Talos machine config patches #164

Merged
claude-agent merged 1 commit from plane/HOMELAB-817-hostname-fix into live 2026-04-06 06:03:49 +00:00
Owner

Prevents random hostname generation after config apply. Sets hostname from node name variable.

Prevents random hostname generation after config apply. Sets hostname from node name variable.
HOMELAB-817: fix(talos-cluster): add hostname to machine config patches
Some checks failed
Plan failed.
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
c3eac7349d
After config apply/reboot, Talos generated a random hostname (talos-8a7-y35)
instead of the expected prod-cp-01. This caused stale kubelet registrations
and etcd member hostname mismatches. Set hostname explicitly from node name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator

Plan Error

running git clone --depth=1 --branch plane/HOMELAB-817-hostname-fix --single-branch https://atlantis:<redacted>@forgejo.aaron.reynoza.org/aaron/infra-core.git /atlantis-data/repos/aaron/infra-core/164/default: Cloning into '/atlantis-data/repos/aaron/infra-core/164/default'...
fatal: unable to access 'https://forgejo.aaron.reynoza.org/aaron/infra-core.git/': Failed to connect to forgejo.aaron.reynoza.org port 443 after 133302 ms: Could not connect to server
: exit status 128
**Plan Error** ``` running git clone --depth=1 --branch plane/HOMELAB-817-hostname-fix --single-branch https://atlantis:<redacted>@forgejo.aaron.reynoza.org/aaron/infra-core.git /atlantis-data/repos/aaron/infra-core/164/default: Cloning into '/atlantis-data/repos/aaron/infra-core/164/default'... fatal: unable to access 'https://forgejo.aaron.reynoza.org/aaron/infra-core.git/': Failed to connect to forgejo.aaron.reynoza.org port 443 after 133302 ms: Could not connect to server : exit status 128 ```
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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!164
No description provided.