From e8ed9b03fbfcd151e0061a163c61ec59bb03180b Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Sun, 24 Jan 2021 22:13:19 +0100 Subject: [PATCH] Adding moritz as namespace for docker secreet --- k8s/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/k8s/README.md b/k8s/README.md index 9153684..c503118 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -123,7 +123,8 @@ helm upgrade --install --create-namespace docker-registry stable/docker-registry Create credentials secret [according to docu](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line): ```sh -namespaces="datalab web" +namespaces="datalab web moritz" +# the following is ONLY required to update the secret file!! for i in $( echo $namespaces ) ; do kubectl create secret docker-registry registry-haumdaucher-de \ -n $i \ @@ -133,7 +134,7 @@ for i in $( echo $namespaces ) ; do --docker-email=moritz@moritzgraf.de \ --dry-run -o yaml > ./${i}/docker-pull.yaml.secret done -# apply +# apply (may be executed as needed) for i in $( echo $namespaces ) ; do kubectl apply -f ${i}/docker-pull.yaml.secret done @@ -348,7 +349,7 @@ Using the [mailu helm chart](https://github.com/Mailu/helm-charts/tree/master/ma helm repo add mailu https://mailu.github.io/helm-charts/ helm repo update helm upgrade --install mailu mailu/mailu -n mailu -f mailu/mailu.secret.yml -helm upgrade --install mailu ../../mailu-helm-charts/mailu/ -n mailu -f mailu/mailu.secret.yml +#helm upgrade --install mailu ../../mailu-helm-charts/mailu/ -n mailu -f mailu/mailu.secret.yml helm template mailu ../../mailu-helm-charts/mailu/ -n mailu -f mailu/mailu.secret.yml ```