Updating docs/ to v1

This commit is contained in:
Kris Rousey
2015-06-05 12:47:15 -07:00
parent 640c40da65
commit 6e83eb2636
41 changed files with 116 additions and 117 deletions

View File

@@ -14,7 +14,7 @@ To make use of secrets requires at least two steps:
This is an example of a simple secret, in json format:
```json
{
"apiVersion": "v1beta3",
"apiVersion": "v1",
"kind": "Secret",
"metadata" : {
"name": "mysecret",
@@ -34,7 +34,7 @@ The values are arbitrary data, encoded using base64.
This is an example of a pod that uses a secret, in json format:
```json
{
"apiVersion": "v1beta3",
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "mypod",
@@ -116,7 +116,7 @@ To create a pod that uses an ssh key stored as a secret, we first need to create
```json
{
"kind": "Secret",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "ssh-key-secret"
},
@@ -137,7 +137,7 @@ consumes it in a volume:
```json
{
"kind": "Pod",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "secret-test-pod",
"labels": {
@@ -187,12 +187,12 @@ The secrets:
```json
{
"apiVersion": "v1beta3",
"apiVersion": "v1",
"kind": "List",
"items":
[{
"kind": "Secret",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "prod-db-secret"
},
@@ -203,7 +203,7 @@ The secrets:
},
{
"kind": "Secret",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "test-db-secret"
},
@@ -219,12 +219,12 @@ The pods:
```json
{
"apiVersion": "v1beta3",
"apiVersion": "v1",
"kind": "List",
"items":
[{
"kind": "Pod",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "prod-db-client-pod",
"labels": {
@@ -257,7 +257,7 @@ The pods:
},
{
"kind": "Pod",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "test-db-client-pod",
"labels": {