From 39f10aadf1a32122ab06ecff94fd654bd43f9e61 Mon Sep 17 00:00:00 2001 From: bartoszbetka Date: Mon, 3 Feb 2020 14:56:15 +0100 Subject: [PATCH] fixup! Add information about privileges for service accounts --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b03e7c0e..a2f2c5cc 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ Scripts in this repository allow you to build containers and cluster configurati You obviously need access that machine to do this. This is the recommended way to deploy in production. -## Deployment +## Initializing the deployment environments ### Cloning the repositories @@ -404,11 +404,13 @@ ansible-playbook configure-user-authentication-for-clusters.yml \ --user $user ``` -All the instructions below assume that you're using local playbooks to run build and deployment commands on a new server. - Note that if you're running the playbooks themselves from within that server too, you need to add `--connection=local` to your `ansible-playbook` calls. Otherwise Ansible will run its commands over SSH (rather than directly) using the public IP specified in `ansible_inventory`, which will likely fail because you're not supposed to have your private SSH key on the remote server you're connecting to. +## Deployment + +All the instructions below assume that you're using local playbooks to run build and deployment commands on a new server. + ### Building containers and cluster configuration Before following these instructions, please make sure that the Concent version you're building (i.e. `concent_version` in `containers/versions.yml`) is listed in `concent_versions` dictionary in `var-concent-.yml` file. At any given time there can be multiple Concent versions deployed to different clusters within the same environment (e.g. `v1.8` and `v1.9` on `dev`, `v1.9` and `v2.0` on `staging`, etc.) and this dictionary contains configuration values that are not the same for all those clusters. @@ -424,7 +426,7 @@ ansible-playbook build-cluster-configuration.yml \ --extra-vars cluster=$cluster \ --inventory ../../concent-deployment-values/ansible_inventory \ --user $user -``` + ansible-playbook build-test-and-push-containers.yml \ --extra-vars cluster=$cluster \ --inventory ../../concent-deployment-values/ansible_inventory \