add namespace support
This commit is contained in:
parent
63f3889803
commit
21a7c7082b
5
helm.mk
5
helm.mk
|
@ -7,6 +7,9 @@ start-helm:
|
||||||
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
|
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
|
||||||
@- kubectl config use-context $(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"
|
@- echo "\n### generating imagePullSecrets"
|
||||||
@- imagePullSecrets.sh
|
@- imagePullSecrets.sh
|
||||||
|
|
||||||
|
@ -14,4 +17,4 @@ start-helm:
|
||||||
@- helmfile --file helmfile.yaml apply --suppress-secrets
|
@- helmfile --file helmfile.yaml apply --suppress-secrets
|
||||||
|
|
||||||
pull-helm:
|
pull-helm:
|
||||||
# nop
|
# nop
|
||||||
|
|
Loading…
Reference in New Issue