Commit Graph
22 Commits
Author SHA1 Message Date
cyberops7 bbaf955ea5 Make RKE2 scripts pass shellcheck (severity=warning) and hygiene hooks
The lint CI runs pre-commit on changed files, so touching these scripts
surfaced pre-existing warnings. Address them without changing behavior:
- Quote array elements (SC2206) and command substitutions (SC2046).
- Disable SC2087 on the ssh heredocs (vars are intentionally expanded
  client-side) and SC1090 on 'source ~/.bashrc' (not followable).
- Keep unused config knobs (KVVERSION, interface) with a targeted
  SC2034 disable; drop the genuinely-unused allnomaster1 array.
- Strip trailing whitespace.

Verified: shellcheck --severity=warning clean and pre-commit green
(ShellCheck v0.10.0) on both files; bash -n syntax OK.
2026-07-08 23:32:34 -06:00
cyberops7 0cb8910004 Fix rancher-lb LoadBalancer wait-loop in RKE2 scripts
The wait-loop was missing '-o' before the jsonpath template, so
'jsonpath={...}' was parsed as a service name and the query errored
to empty output, causing the loop to never wait. It also queried
.status.conditions[Pending], a shape Services do not have.

Poll the rancher-lb service and block until MetalLB assigns an
external IP instead.
2026-07-08 22:57:55 -06:00
tehNooBandGitHub 541efa1826 Update rke2.sh 2024-03-17 21:22:19 +00:00
tehNooBandGitHub 2e9d3dd8c3 Delete Kubernetes/RKE2/rke2-test-do-not-use.sh 2023-12-05 18:02:39 +00:00
James Turland c33a8dc101 update 2023-12-04 12:18:14 +00:00
James Turland 44af234c81 update 2023-12-04 11:47:38 +00:00
James Turland 967d6bbca0 update 2023-12-04 11:39:18 +00:00
James Turland 84c228b43b update 2023-12-04 11:34:59 +00:00
James Turland 9af9a88fc3 update 2023-12-04 11:24:05 +00:00
James Turland 531b7137ac update 2023-12-02 12:05:54 +00:00
James Turland 3f8cfb9ce9 update 2023-11-22 00:42:10 +00:00
tehNooBandGitHub 1c7bf0dc69 bump cert-manager version 2023-11-20 13:39:23 +00:00
James Turland 521f040ad9 tweaked script 2023-11-15 11:21:27 +00:00
James Turland a843a75fb8 add latest 2023-11-09 13:06:42 +00:00
James Turland 18f9704918 change rancher to latest (not alpha) 2023-11-09 09:26:16 +00:00
James Turland 3c7a592402 Remove NodeSelector to allow Local IP source preservation 2023-11-07 09:46:24 +00:00
James Turland 029134e214 copy kubeconfig file to rke2 folder 2023-11-03 10:04:17 +00:00
James Turland 3ef9a77921 change ~ to ${HOME} for kubectl 2023-11-03 09:57:30 +00:00
James Turland 42ada9bdbe changed interface to variable 2023-11-03 09:50:43 +00:00
tehNooBandGitHub e76825acc0 Update rke2.sh 2023-10-31 21:29:50 +00:00
tehNooBandGitHub 089e98e2a9 Create rke2.sh 2023-10-30 22:50:54 +00:00
tehNooBandGitHub bfbd1d86fd Create k3s 2023-10-30 20:40:36 +00:00