From 85ccc9bad5cf1c9416ebb726572ad2c64104bf5d Mon Sep 17 00:00:00 2001 From: Stefan Riepenhausen Date: Fri, 18 Nov 2022 15:25:23 +0100 Subject: [PATCH] init commit kubernetes --- k8s.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/k8s.mk b/k8s.mk index e69de29..8fb1926 100644 --- a/k8s.mk +++ b/k8s.mk @@ -0,0 +1,18 @@ +# 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 +