make-deploy/k8s.mk

19 lines
406 B
Makefile
Raw Normal View History

2022-11-18 14:25:23 +00:00
# k8s
#
# deploys k8s
start-k8s:
@- echo "\n### starting deployment with k8s"
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
@- kubectl config use-context $(K8S_CONTEXT)
@- echo "\n### generating imagePullSecrets"
@- imagePullSecrets.sh
@- echo "\n### run kubectl apply -f kubernetes.yaml and secrets.yaml"
@- cat kubernetes.yaml secrets.yaml | kubectl apply -f -
pull-k8s:
# nop