fail and exit on some errors
This commit is contained in:
parent
8e41a3935d
commit
b0060bfae4
4
k8s.mk
4
k8s.mk
|
@ -7,13 +7,13 @@ MANDATORY-k8s = K8S_CONTEXT
|
||||||
start-k8s:
|
start-k8s:
|
||||||
@- echo "\n### starting deployment with k8s"
|
@- echo "\n### starting deployment with k8s"
|
||||||
@- 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### generating imagePullSecrets"
|
@- echo "\n### generating imagePullSecrets"
|
||||||
@- imagePullSecrets.sh
|
@- imagePullSecrets.sh
|
||||||
|
|
||||||
@- echo "\n### run kubectl apply -f kubernetes.yaml and secrets.yaml"
|
@- echo "\n### run kubectl apply -f kubernetes.yaml and secrets.yaml"
|
||||||
@- cat kubernetes.yaml secrets.yaml | envsubst | kubectl apply -f -
|
@ cat kubernetes.yaml secrets.yaml | envsubst | kubectl apply -f -
|
||||||
|
|
||||||
pull-k8s:
|
pull-k8s:
|
||||||
# nop
|
# nop
|
||||||
|
|
Loading…
Reference in New Issue