Add ImageRegistry field to Tenant Create and Tenant Update (#230)

This commit is contained in:
Cesar N
2020-08-04 20:54:59 -07:00
committed by GitHub
parent 7710df62ee
commit b9b776c278
8 changed files with 343 additions and 27 deletions

View File

@@ -2043,8 +2043,8 @@ func init() {
"image": {
"type": "string"
},
"imagePullSecretsName": {
"type": "string"
"image_registry": {
"$ref": "#/definitions/imageRegistry"
},
"mounth_path": {
"type": "string"
@@ -2292,6 +2292,25 @@ func init() {
}
}
},
"imageRegistry": {
"type": "object",
"required": [
"registry",
"username",
"password"
],
"properties": {
"password": {
"type": "string"
},
"registry": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"listBucketEventsResponse": {
"type": "object",
"properties": {
@@ -3052,6 +3071,9 @@ func init() {
"image": {
"type": "string",
"pattern": "^((.*?)/(.*?):(.+))$"
},
"image_registry": {
"$ref": "#/definitions/imageRegistry"
}
}
},
@@ -5937,8 +5959,8 @@ func init() {
"image": {
"type": "string"
},
"imagePullSecretsName": {
"type": "string"
"image_registry": {
"$ref": "#/definitions/imageRegistry"
},
"mounth_path": {
"type": "string"
@@ -6186,6 +6208,25 @@ func init() {
}
}
},
"imageRegistry": {
"type": "object",
"required": [
"registry",
"username",
"password"
],
"properties": {
"password": {
"type": "string"
},
"registry": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"listBucketEventsResponse": {
"type": "object",
"properties": {
@@ -6880,6 +6921,9 @@ func init() {
"image": {
"type": "string",
"pattern": "^((.*?)/(.*?):(.+))$"
},
"image_registry": {
"$ref": "#/definitions/imageRegistry"
}
}
},