Remove imagePullSecret creation
This commit is contained in:
parent
d113199eaf
commit
f3fb16f629
3
k8s.mk
3
k8s.mk
|
@ -9,9 +9,6 @@ start-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"
|
|
||||||
@- 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 -
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,6 @@ start-kustomize:
|
||||||
@- echo "\n### create namespace $(K8S_NAMESPACE)"
|
@- echo "\n### create namespace $(K8S_NAMESPACE)"
|
||||||
@- kubectl create namespace "$(K8S_NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
@- kubectl create namespace "$(K8S_NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
|
||||||
@- echo "\n### generating imagePullSecrets"
|
|
||||||
@- imagePullSecretsOut.sh > $(KUSTOMIZE_FOLDER)/base/imagepullsecrets.yaml
|
|
||||||
|
|
||||||
@- echo "\n### editing kustomizations"
|
@- echo "\n### editing kustomizations"
|
||||||
|
|
||||||
ifdef KUSTOMIZE_EDIT_NAMESPACE
|
ifdef KUSTOMIZE_EDIT_NAMESPACE
|
||||||
|
|
Loading…
Reference in New Issue