From b0060bfae4a5dea22b3de366c8ede0e504be7911 Mon Sep 17 00:00:00 2001 From: Stefan Riepenhausen Date: Wed, 21 Dec 2022 11:27:58 +0100 Subject: [PATCH] fail and exit on some errors --- k8s.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s.mk b/k8s.mk index 7c41c85..ac4ffa1 100644 --- a/k8s.mk +++ b/k8s.mk @@ -7,13 +7,13 @@ MANDATORY-k8s = K8S_CONTEXT start-k8s: @- echo "\n### starting deployment with k8s" @- echo "\n### setting kubernetes context to $(K8S_CONTEXT)" - @- kubectl config use-context $(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 | envsubst | kubectl apply -f - + @ cat kubernetes.yaml secrets.yaml | envsubst | kubectl apply -f - pull-k8s: # nop