Verify each Proxmox host against its public CA in 02-k8s-bootstrap/certs/ instead of using curl -k.
Pass the Proxmox and k3s tokens outside process arguments.
Fetch the k3s installer from the v1.36.2+k3s1 release tag.
Add environment and stdin to ignoreChanges, so these new inputs do not re-run commands on live nodes.
Why
The Proxmox token has admin rights, but it was sent without verifying the server and was visible in process arguments, as was the k3s token. The installer script could also change independently of the pinned k3s version.
The CA files contain only public certificates. Reinstalling a Proxmox host creates a new CA, so its file must then be replaced.
Preview
k8s-bootstrap: 1 to create (wait-control-plane-vip-ready), 30 unchanged. Typecheck passes.
Each CA file was checked against its live host, and the pinned installer URL resolves.
Not tested
The rewritten VM start and k3s install scripts only run on a fresh install and have not been executed. This stack deploys only through the manual workflow.
## What changed
- Verify each Proxmox host against its public CA in `02-k8s-bootstrap/certs/` instead of using `curl -k`.
- Pass the Proxmox and k3s tokens outside process arguments.
- Fetch the k3s installer from the `v1.36.2+k3s1` release tag.
- Add `environment` and `stdin` to `ignoreChanges`, so these new inputs do not re-run commands on live nodes.
## Why
The Proxmox token has admin rights, but it was sent without verifying the server and was visible in process arguments, as was the k3s token. The installer script could also change independently of the pinned k3s version.
The CA files contain only public certificates. Reinstalling a Proxmox host creates a new CA, so its file must then be replaced.
## Preview
`k8s-bootstrap`: 1 to create (`wait-control-plane-vip-ready`), 30 unchanged. Typecheck passes.
Each CA file was checked against its live host, and the pinned installer URL resolves.
## Not tested
The rewritten VM start and k3s install scripts only run on a fresh install and have not been executed. This stack deploys only through the manual workflow.
The Proxmox API token has admin rights but was sent with TLS verification off and, like the k3s token, was visible in process arguments. Verify each host against its public CA in certs/ and pass both tokens outside the command line.
Fetch the k3s installer from the pinned release tag so the script cannot change independently of the version. The new environment and stdin inputs are ignored so they do not re-run commands on live nodes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
02-k8s-bootstrap/certs/instead of usingcurl -k.v1.36.2+k3s1release tag.environmentandstdintoignoreChanges, so these new inputs do not re-run commands on live nodes.Why
The Proxmox token has admin rights, but it was sent without verifying the server and was visible in process arguments, as was the k3s token. The installer script could also change independently of the pinned k3s version.
The CA files contain only public certificates. Reinstalling a Proxmox host creates a new CA, so its file must then be replaced.
Preview
k8s-bootstrap: 1 to create (wait-control-plane-vip-ready), 30 unchanged. Typecheck passes.Each CA file was checked against its live host, and the pinned installer URL resolves.
Not tested
The rewritten VM start and k3s install scripts only run on a fresh install and have not been executed. This stack deploys only through the manual workflow.