From 99262a0d4dd70199a098d20205eee91ae2e4f9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 5 Feb 2019 17:27:59 +0100 Subject: [PATCH] Fix README --- README.md | 18 +++++++++--------- staging/deployment-web.yaml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a61074503..201724265 100644 --- a/README.md +++ b/README.md @@ -101,16 +101,16 @@ Switch to the namespace `staging` in your kubernetes dashboard. ### Prepare migration of Human Connection legacy server Create a configmap with the specific connection data of your legacy server: ```sh -$ kubectl create configmap db-migration-worker \ - --namespace=staging \ - --from-literal=SSH_USERNAME=someuser \ - --from-literal=SSH_HOST=yourhost \ - --from-literal=MONGODB_USERNAME=hc-api \ - --from-literal=MONGODB_PASSWORD=secretpassword \ - --from-literal=MONGODB_AUTH_DB=hc_api \ - --from-literal=MONGODB_DATABASE=hc_api \ +$ kubectl create configmap db-migration-worker \ + --namespace=staging \ + --from-literal=SSH_USERNAME=someuser \ + --from-literal=SSH_HOST=yourhost \ + --from-literal=MONGODB_USERNAME=hc-api \ + --from-literal=MONGODB_PASSWORD=secretpassword \ + --from-literal=MONGODB_AUTH_DB=hc_api \ + --from-literal=MONGODB_DATABASE=hc_api \ --from-literal=UPLOADS_DIRECTORY=/var/www/api/uploads \ - --from-literal=NEO4J_URI= \ + --from-literal=NEO4J_URI=bolt://neo4j:7687 ``` Create a secret with your public and private ssh keys: diff --git a/staging/deployment-web.yaml b/staging/deployment-web.yaml index 48e99b9c2..de9651528 100644 --- a/staging/deployment-web.yaml +++ b/staging/deployment-web.yaml @@ -17,7 +17,8 @@ spec: name: nitro-web spec: containers: - - env: + - name: web + env: - name: COMMIT value: - name: HOST @@ -39,7 +40,6 @@ spec: key: JWT_SECRET optional: false image: humanconnection/nitro-web:latest - name: web ports: - containerPort: 3000 resources: {}