using secrets.yaml instead of script

This commit is contained in:
Stefan Riepenhausen 2022-12-07 13:41:36 +01:00
parent 224e1b3cf0
commit f0adf2d8ea
1 changed files with 4 additions and 2 deletions

View File

@ -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