Add directory in GitRepo and updated tests.

Update validate and gitRepo

Update generated code
This commit is contained in:
Harry Zhang
2015-10-10 18:10:45 +08:00
committed by harry zhang
parent f4ea77bede
commit 70a9c0bf56
19 changed files with 27957 additions and 27564 deletions

View File

@@ -13251,8 +13251,7 @@
"id": "v1.GitRepoVolumeSource",
"description": "GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.",
"required": [
"repository",
"revision"
"repository"
],
"properties": {
"repository": {
@@ -13262,6 +13261,10 @@
"revision": {
"type": "string",
"description": "Commit hash for the specified revision."
},
"directory": {
"type": "string",
"description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."
}
}
},

View File

@@ -3244,8 +3244,7 @@
"id": "v1.GitRepoVolumeSource",
"description": "GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.",
"required": [
"repository",
"revision"
"repository"
],
"properties": {
"repository": {
@@ -3255,6 +3254,10 @@
"revision": {
"type": "string",
"description": "Commit hash for the specified revision."
},
"directory": {
"type": "string",
"description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."
}
}
},