From f0adf2d8eae41214d42369d6bb497e2cde53eef5 Mon Sep 17 00:00:00 2001 From: Stefan Riepenhausen Date: Wed, 7 Dec 2022 13:41:36 +0100 Subject: [PATCH] using secrets.yaml instead of script --- helm.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helm.mk b/helm.mk index d78382b..e1ba31b 100644 --- a/helm.mk +++ b/helm.mk @@ -10,8 +10,10 @@ start-helm: @- echo "\n### create namespace $(NAMESPACE)" @- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f - - @- echo "\n### generating imagePullSecrets" - @- imagePullSecrets.sh + @- echo "\n### run kubectl apply -f secrets.yaml" + @- cat secrets.yaml | kubectl apply -f - + + @- echo "\nCI_PROJECT_NAME: ${CI_PROJECT_NAME}" @- echo "\n### deploying helm chart" @- helmfile --file helmfile.yaml apply --suppress-secrets