kustomize has to create a namespace if it doesn't exist
This commit is contained in:
parent
27fed6769f
commit
ceaf9a58fe
|
@ -7,6 +7,9 @@ start-kustomize:
|
|||
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
|
||||
@- kubectl config use-context $(K8S_CONTEXT)
|
||||
|
||||
@- echo "\n### create namespace $(K8S_NAMESPACE)"
|
||||
@- kubectl create namespace "$(K8S_NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
@- echo "\n### generating imagePullSecrets"
|
||||
@- imagePullSecretsOut.sh > $(KUSTOMIZE_FOLDER)/base/imagepullsecrets.yaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue