From b85811e871a9aac8d77ac799ec41450919eab866 Mon Sep 17 00:00:00 2001 From: Stefan Riepenhausen Date: Wed, 7 Dec 2022 14:55:36 +0100 Subject: [PATCH] simplify and check for output status --- helm.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/helm.mk b/helm.mk index e1ba31b..7d7934a 100644 --- a/helm.mk +++ b/helm.mk @@ -5,18 +5,16 @@ start-helm: @- echo "\n### starting deployment with helmfile" @- echo "\n### setting kubernetes context to $(K8S_CONTEXT)" - @- kubectl config use-context $(K8S_CONTEXT) + @ kubectl config use-context $(K8S_CONTEXT) @- echo "\n### create namespace $(NAMESPACE)" @- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f - @- echo "\n### run kubectl apply -f secrets.yaml" - @- cat secrets.yaml | kubectl apply -f - - - @- echo "\nCI_PROJECT_NAME: ${CI_PROJECT_NAME}" + @- kubectl apply -f secrets.yaml @- echo "\n### deploying helm chart" - @- helmfile --file helmfile.yaml apply --suppress-secrets + @ helmfile --file helmfile.yaml apply --suppress-secrets pull-helm: # nop