Add directory in GitRepo and updated tests.
Update validate and gitRepo Update generated code
This commit is contained in:
@@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user