Skip to content

Commit

Permalink
Just patch fabric deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Dec 6, 2024
1 parent f87baf0 commit 4d940e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"}}}}}'

0 comments on commit 4d940e7

Please sign in to comment.