mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:14:32 +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:
|
||||
.PHONY: *
|
||||
.EXPORT_ALL_VARIABLES:
|
||||
|
||||
KUBECONFIG = $(shell pwd)/metal/kubeconfig.yaml
|
||||
KUBE_CONFIG_PATH = $(KUBECONFIG)
|
||||
|
||||
default: metal bootstrap wait
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
.POSIX:
|
||||
.EXPORT_ALL_VARIABLES:
|
||||
|
||||
KUBECONFIG = $(shell pwd)/../metal/kubeconfig.yaml
|
||||
|
||||
default: namespace argocd root
|
||||
|
||||
|
@ -1,8 +1,4 @@
|
||||
.POSIX:
|
||||
.EXPORT_ALL_VARIABLES:
|
||||
|
||||
KUBECONFIG = ../metal/kubeconfig.yaml
|
||||
KUBE_CONFIG_PATH = $(KUBECONFIG)
|
||||
|
||||
default: apply
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user