From 4d940e75529b4676b1a9b1efdd11142b2198fee8 Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Thu, 5 Dec 2024 17:16:47 -0800 Subject: [PATCH] Just patch fabric deployment --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index f2102598..76d78b7e 100644 --- a/justfile +++ b/justfile @@ -111,3 +111,7 @@ test-api: _helm-fabric-api kubectl wait --for condition=established --timeout=60s crd/dhcpsubnets.dhcp.githedgehog.com kubectl get crd | grep hedgehog kind delete cluster --name kind + +# Patch deployment using the default kubeconfig (KUBECONFIG env or ~/.kube/config) +patch: && version + kubectl -n fab patch fab/default --type=merge -p '{"spec":{"overrides":{"versions":{"fabric":{"api":"{{version}}","agent":"{{version}}","boot":"{{version}}","controller":"{{version}}","ctl":"{{version}}","dhcpd":"{{version}}","proxyChart":"{{version}}"}}}}}'