More descriptive minikube setup instructions

This commit is contained in:
Dominic Motuka 2019-05-09 16:27:27 +03:00
parent d6f423d845
commit 3e2b9666ca
No known key found for this signature in database
GPG Key ID: 28E53069FF534BE8

View File

@ -6,21 +6,21 @@ just apply our provided configuration files to your cluster.
## Configuration
Copy our provided templates:
Change into the `./deployment` directory and copy our provided templates:
```bash
$ cp secrets.template.yaml human-connection/secrets.yaml
$ cp configmap.template.yaml human-connection/configmap.yaml
```
Change the `configmap.yaml` as needed, all variables will be available as
Change the `configmap.yaml` in the `./deployment/human-connection` directory as needed, all variables will be available as
environment variables in your deployed kubernetes pods.
If you want to edit secrets, you have to `base64` encode them. See [kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/secret/#creating-a-secret-manually).
```bash
# example how to base64 a string:
$ echo -n 'admin' | base64 --wrap 0
$ echo -n 'admin' | base64
YWRtaW4=
```