From 3732265498d7633bc89de7f627305049cf2a3bf2 Mon Sep 17 00:00:00 2001 From: Grant Hunter <5445379+grantdhunter@users.noreply.github.com> Date: Sun, 8 Feb 2026 15:18:39 -0700 Subject: [PATCH] Add just command to refresh cert --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index d93b30e..1ace513 100644 --- a/justfile +++ b/justfile @@ -44,11 +44,11 @@ refresh-client-cert: yq -r .machine.ca.crt controlplane.yaml | base64 -d > ca.crt yq -r .machine.ca.key controlplane.yaml | base64 -d > ca.key talosctl gen key --name admin - talosctl gen csr --key admin.key --ip 127.0.0.1 - talosctl gen crt --ca ca --csr admin.csr --name admin + talosctl gen csr --key admin.key --ip 127.0.0.1 + talosctl gen crt --ca ca --csr admin.csr --name admin --hours 8760 yq -i '.contexts.fog.ca = "'"$(base64 -w0 ca.crt)"\ '" | .contexts.fog.crt = "'"$(base64 -w0 admin.crt)"\ '" | .contexts.fog.key = "'"$(base64 -w0 admin.key)"'"' \ .config/talosconfig - talosctl kubeconfig .config/kubeconfig -n 192.168.1.43 \ No newline at end of file + talosctl kubeconfig .config/kubeconfig -n 192.168.1.43