Merge pull request #76 from sixtyeight/fix-postgres-secret-readme

Obvious Fix: PostgreSQL secret: typo and copy/paste error
This commit is contained in:
Ioannis Canellos
2017-06-22 22:37:52 +02:00
committed by GitHub

View File

@@ -86,7 +86,7 @@ data:
pool.size.max: 16
```
Individual properties work fine for most cases but sometimes we yaml is more convinient. In this case we will use a single property named `application.yaml` and embed our yaml inside it:
Individual properties work fine for most cases but sometimes yaml is more convinient. In this case we will use a single property named `application.yaml` and embed our yaml inside it:
```yaml
kind: ConfigMap
@@ -144,7 +144,7 @@ This can be externalized to Secrets in yaml format:
amq.password: MWYyZDFlMmU2N2Rm
```
- **PostreSQL**
- **PostgreSQL**
```yaml
apiVersion: v1
kind: Secret
@@ -154,8 +154,8 @@ This can be externalized to Secrets in yaml format:
db: postgres
type: Opaque
data:
amq.username: dXNlcgo=
amq.password: cGdhZG1pbgo=
pg.username: dXNlcgo=
pg.password: cGdhZG1pbgo=
```
You can select the Secrets to consume in a number of ways: