We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99acc69 commit af147fcCopy full SHA for af147fc
scripts/make-rules/tools.mk
@@ -173,7 +173,7 @@ _install.kubeconform: ## Install kubeconform command line tool.
173
174
.PHONY: _install.kubectl
175
_install.kubectl: ## Install kubectl command line tool.
176
- @curl --create-dirs -L -o $$HOME/bin/kubectl "https://dl.k8s.io/release/$(shell curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
+ @curl --create-dirs -L -o $$HOME/bin/kubectl "https://dl.k8s.io/release/$(shell curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/$(shell $(GO) env GOHOSTARCH)/kubectl"
177
@chmod +x $$HOME/bin/kubectl
178
@$(SCRIPTS_DIR)/add-completion.sh kubectl bash
179
0 commit comments