using secrets.yaml instead of script
This commit is contained in:
parent
224e1b3cf0
commit
f0adf2d8ea
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…
Reference in New Issue