Merge pull request #319 from rickypai/patch-1

Fix secrets examples to be valid json
pull/363/head
johndmulhausen 2016-04-11 14:12:41 -07:00
commit 56e0556bc4
1 changed files with 19 additions and 18 deletions

View File

@ -521,15 +521,15 @@ one called, say, `prod-user` with the `prod-db-secret`, and one called, say,
```json
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "prod-db-client-pod",
"labels": {
"name": "prod-db-client"
}
},
"spec": {
},
"spec": {
"serviceAccount": "prod-db-client",
"containers": [
{
@ -537,6 +537,7 @@ one called, say, `prod-user` with the `prod-db-secret`, and one called, say,
"image": "myClientImage"
}
]
}
}
```
@ -553,7 +554,7 @@ make that key begin with a dot. For example, when the following secret secret i
"name": "dotfile-secret"
},
"data": {
".secret-file": "dmFsdWUtMg0KDQo=",
".secret-file": "dmFsdWUtMg0KDQo="
}
}
@ -561,7 +562,7 @@ make that key begin with a dot. For example, when the following secret secret i
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "secret-dotfiles-pod",
"name": "secret-dotfiles-pod"
},
"spec": {
"volumes": [
@ -576,7 +577,7 @@ make that key begin with a dot. For example, when the following secret secret i
{
"name": "dotfile-test-container",
"image": "gcr.io/google_containers/busybox",
"command": "ls -l /etc/secret-volume"
"command": "ls -l /etc/secret-volume",
"volumeMounts": [
{
"name": "secret-volume",