mirror of
https://git.chefkoch.net/pub/make-deploy
synced 2025-05-14 19:43:24 +00:00
using secrets.yaml instead of script
This commit is contained in:
parent
224e1b3cf0
commit
f0adf2d8ea
1 changed files with 4 additions and 2 deletions
6
helm.mk
6
helm.mk
|
@ -10,8 +10,10 @@ start-helm:
|
||||||
@- echo "\n### create namespace $(NAMESPACE)"
|
@- echo "\n### create namespace $(NAMESPACE)"
|
||||||
@- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
@- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
|
||||||
@- echo "\n### generating imagePullSecrets"
|
@- echo "\n### run kubectl apply -f secrets.yaml"
|
||||||
@- imagePullSecrets.sh
|
@- cat secrets.yaml | kubectl apply -f -
|
||||||
|
|
||||||
|
@- echo "\nCI_PROJECT_NAME: ${CI_PROJECT_NAME}"
|
||||||
|
|
||||||
@- echo "\n### deploying helm chart"
|
@- echo "\n### deploying helm chart"
|
||||||
@- helmfile --file helmfile.yaml apply --suppress-secrets
|
@- helmfile --file helmfile.yaml apply --suppress-secrets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue