Remove imagePullSecret creation

This commit is contained in:
Florian Zink 2022-12-27 11:45:06 +01:00
parent d113199eaf
commit f3fb16f629
2 changed files with 0 additions and 6 deletions

3
k8s.mk
View File

@ -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 -

View File

@ -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