Skip to content

Commit

Permalink
feat(makefile): get the kubeconfig from the server
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Jun 16, 2024
1 parent 2da7c63 commit 76990f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ else
@cruft check || cruft update --skip-apply-ask --refresh-private-variables
endif
.PHONY: cruft-update

kubeconfig:
@mkdir -p ${HOME}/.kube
@terraform -chdir=infrastructure output -json kubeconfig | jq -r > ${HOME}/.kube/config
@echo "Saved to ${HOME}/.kube/config"
.PHONY: kubeconfig

0 comments on commit 76990f4

Please sign in to comment.