mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:14:38 +07:00
build: set kubeconfig from global Makefile
Separate build steps in Tekton can use service account instead of config file
This commit is contained in:
parent
7b1afcc55c
commit
dc7d1256a0
4
Makefile
4
Makefile
@ -1,5 +1,9 @@
|
|||||||
.POSIX:
|
.POSIX:
|
||||||
.PHONY: *
|
.PHONY: *
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
|
||||||
|
KUBECONFIG = $(shell pwd)/metal/kubeconfig.yaml
|
||||||
|
KUBE_CONFIG_PATH = $(KUBECONFIG)
|
||||||
|
|
||||||
default: metal bootstrap wait
|
default: metal bootstrap wait
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
.POSIX:
|
.POSIX:
|
||||||
.EXPORT_ALL_VARIABLES:
|
|
||||||
|
|
||||||
KUBECONFIG = $(shell pwd)/../metal/kubeconfig.yaml
|
|
||||||
|
|
||||||
default: namespace argocd root
|
default: namespace argocd root
|
||||||
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
.POSIX:
|
.POSIX:
|
||||||
.EXPORT_ALL_VARIABLES:
|
|
||||||
|
|
||||||
KUBECONFIG = ../metal/kubeconfig.yaml
|
|
||||||
KUBE_CONFIG_PATH = $(KUBECONFIG)
|
|
||||||
|
|
||||||
default: apply
|
default: apply
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user