add namespace support

This commit is contained in:
Stefan Riepenhausen 2022-11-15 15:23:56 +01:00
parent 63f3889803
commit 21a7c7082b
1 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@ start-helm:
@- echo "\n### setting kubernetes context to $(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### generating imagePullSecrets"
@- imagePullSecrets.sh
@ -14,4 +17,4 @@ start-helm:
@- helmfile --file helmfile.yaml apply --suppress-secrets
pull-helm:
# nop
# nop