Skip to content

Commit

Permalink
Add labeler field into mysqlversions CRD (kubedb#497)
Browse files Browse the repository at this point in the history
* Add labeler

Signed-off-by: suaas21 <[email protected]>

* labeler -> replicationModeDetector

Signed-off-by: Tamal Saha <[email protected]>

Co-authored-by: Tamal Saha <[email protected]>
  • Loading branch information
suaas21 and tamalsaha authored Jan 29, 2020
1 parent b5069f3 commit 518ce3c
Show file tree
Hide file tree
Showing 8 changed files with 453 additions and 156 deletions.
4 changes: 2 additions & 2 deletions api/crds/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func catalogKubedbCom_mongodbversionsYaml() (*asset, error) {
return a, nil
}

var _catalogKubedbCom_mysqlversionsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x57\x4d\x6f\x23\x37\x0f\xbe\xfb\x57\x10\x78\x0f\x7b\x59\x8f\x11\xbc\x97\x62\x6e\xa9\x93\x16\x69\x37\x5b\x77\x9d\xe6\x5a\x70\x46\xb4\xad\x46\x23\x69\x45\xca\x5d\xb7\xe8\x7f\x2f\x24\x8d\xed\x19\xdb\x49\xb6\x40\x7b\xc8\xdc\x44\xf1\xf3\x79\x44\x9a\x46\xaf\x1f\x29\xb0\x76\xb6\x06\xf4\x9a\xbe\x08\xd9\x74\xe2\xea\xe9\x1b\xae\xb4\x9b\x6d\xaf\x1a\x12\xbc\x9a\x3c\x69\xab\x6a\x98\x47\x16\xd7\x7d\x22\x76\x31\xb4\x74\x43\x2b\x6d\xb5\x68\x67\x27\x1d\x09\x2a\x14\xac\x27\x00\x6d\x20\x4c\xc2\x07\xdd\x11\x0b\x76\xbe\x06\x1b\x8d\x99\x00\x18\x6c\xc8\x70\xd2\x01\x40\xef\x6b\x78\x8a\x0d\xa9\x66\x02\x60\xb1\xa3\x1a\xba\x1d\x7f\x36\xdb\x92\x0f\x57\x2d\x0a\x1a\xb7\xae\x8a\x52\xd5\xba\x6e\xc2\x9e\xda\x64\x8e\x4a\xe5\xb8\x68\x16\x41\x5b\xa1\x30\x77\x26\x76\x36\xbb\x9e\xc2\x0f\xcb\x9f\x3e\x2e\x50\x36\x35\x54\xc9\xa0\xea\x3d\xe6\xb0\x25\xd0\xe3\x40\x22\x3b\x4f\x35\xb0\x04\x6d\xd7\x17\xcd\x55\x53\xe9\x0e\xd7\x34\xb0\xbf\xf9\xf6\xd7\xbb\xfb\xeb\xef\x6f\xbf\xd2\x01\xf9\x40\x2d\x0a\xa9\xa1\x8b\xb1\xb0\x38\x69\x9c\x33\x84\xf6\xd4\xcb\x1e\xdd\xea\x0c\xda\x81\xc3\xeb\x3e\xc3\xe2\x49\xa1\xa4\xe3\x3a\xb8\xe8\x6b\xb8\x00\x65\x31\xeb\xc9\x48\x79\xac\x5d\xd0\xfb\xf3\x34\xd9\x23\x8b\x0b\xd4\x9f\x0f\x4c\xa5\x03\x7a\xcf\xad\x53\xe5\xae\xbc\x8c\xfb\xdd\xf2\xe7\x0f\x43\x58\x8d\x66\xf9\xf1\xec\xea\x83\x66\xc9\xd7\xde\xc4\x80\xe6\x84\xf2\x7c\xc3\x1b\x17\xe4\xe3\x31\xb7\x29\x74\xbb\x21\x83\xac\xed\x3a\x1a\x0c\x63\xdb\x09\x80\x0f\xc4\x14\xb6\xf4\x8b\x7d\xb2\xee\x77\xfb\x9d\x26\xa3\xb8\x86\x15\x1a\x4e\x99\x72\xeb\x12\x30\x73\x13\x59\x28\x24\x41\x6c\x42\xff\x92\xb9\x86\x3f\xff\x9a\x00\x6c\xd1\x68\x95\x11\x2e\xb1\x9d\x27\x7b\xbd\xb8\x7b\xfc\xff\xb2\xdd\x50\x87\x45\x98\x22\x39\x4f\x41\x0e\x70\x95\xf7\x7c\xe8\xa4\x83\x0c\x40\x11\xb7\x41\xfb\xec\x11\xde\x25\x57\x45\x07\x54\xea\x1d\x62\x90\x0d\x41\x5f\x02\x29\xe0\x1c\x06\xdc\x0a\x64\xa3\x19\x02\xe5\x9a\xac\xe4\x94\x06\x6e\x21\xa9\xa0\x05\xd7\xfc\x46\xad\x54\xb0\x4c\x75\x07\x4e\xd8\x45\xa3\xa0\x75\x76\x4b\x41\x20\x50\xeb\xd6\x56\xff\x71\xf0\xcc\x20\x2e\x87\x34\x28\xd4\x33\xb1\xff\x72\x1f\x59\x34\x09\x84\x48\xef\x01\xad\x82\x0e\x77\x10\x28\xc5\x80\x68\x07\xde\xb2\x0a\x57\x70\xef\x02\x81\xb6\x2b\x57\xc3\x46\xc4\x73\x3d\x9b\xad\xb5\xec\x67\x47\xeb\xba\x2e\x5a\x2d\xbb\x59\xeb\xac\x04\xdd\x44\x71\x81\x67\x8a\xb6\x64\x66\xac\xd7\x53\x0c\xed\x46\x0b\xb5\x12\x03\xcd\xd0\xeb\x69\x4e\xdc\x4a\x6e\xff\x4e\xfd\xef\x40\xcf\xbb\x41\xa6\x27\xed\x56\xbe\xfc\x08\x9f\xc5\x3d\xbd\x43\xd0\x0c\xd8\x9b\x95\xfc\x8f\xf0\x26\x51\x42\xe5\xd3\xed\xf2\x01\xf6\x41\x33\x05\x63\xcc\x33\xda\x47\x33\x3e\x02\x9f\x80\xd2\x76\x45\xa1\x10\xb7\x0a\xae\xcb\x1e\xc9\x2a\xef\xb4\x95\x7c\x68\x8d\x26\x3b\x06\x9d\x63\xd3\x69\x49\x4c\x7f\x8e\xc4\x92\xf8\xa9\x60\x8e\xd6\x3a\x81\x86\x20\xfa\xd4\xc7\xaa\x82\x3b\x0b\x73\xec\xc8\xcc\x91\xe9\x3f\x87\x3d\x21\xcc\xd3\x04\xe9\xeb\xc0\x0f\x07\xff\x58\xb1\xa0\x75\x10\xef\x47\xf7\x45\x86\x86\x23\x62\xe9\xa9\x4d\x64\x25\xc4\x92\x11\xac\x5c\x00\xef\x58\xd6\x81\x18\x86\x93\xe0\xf9\x66\xcc\x01\x9a\xf1\xf9\x24\xe4\x0d\x0a\x36\xc8\x04\x77\x87\xd9\xfe\xba\xcf\xdc\x27\x49\xff\x5c\xfc\x0c\x3e\xe5\x4b\xf4\xea\x40\xea\xd4\x6c\x0a\xfa\x42\xf4\x8b\xf8\x95\x02\xf6\xbf\x19\x2f\x97\x76\x50\xdb\xc3\xc5\x10\x19\x1b\x43\xd0\xc4\xf4\x7e\xd7\x18\x14\x29\x40\x06\xd7\xb0\x33\x24\x94\xba\xfd\xac\xa4\x86\x58\x00\xb7\x4e\x2b\x52\xef\x53\x56\xba\x45\x63\x76\xa0\x22\xa5\x39\xb2\xc1\x6d\x6a\x9c\x86\xc8\x02\x47\x4f\x81\x49\x91\xaa\x2e\x16\x73\xfc\x61\x3b\x7e\xf4\xc5\xbb\x20\x14\x5e\xac\xe5\xb6\x57\x7a\x4b\x34\xa5\xa5\x68\xee\xac\xa0\xb6\xaf\x54\x77\x67\xb5\xa4\x69\x5d\x54\xdf\x52\x8d\xde\xa9\x25\xb5\x31\x68\xd9\x2d\x9c\xd1\xed\x85\xfc\x46\x95\x2e\x96\x8b\xb2\x70\xfc\x83\xf2\x54\xdf\xa2\x39\xc0\x2e\xad\x04\xff\x5a\xad\xe7\xae\xbf\xb6\x70\x71\xce\xbc\x5c\xea\x43\xd2\x78\x4b\x5c\x6e\xcf\xf7\x96\xb3\xa2\x1e\xcf\xe6\xee\x0b\xb9\x5d\xca\x6b\x0a\xfd\xfa\xb8\x3f\xee\xdb\x7f\x24\x1c\xb5\xce\xe8\xe6\xc2\x83\x1b\xdd\x67\x5e\x46\x92\xf3\x9f\x8a\x0b\x08\x9c\x88\xf6\x50\xc0\xf6\x0a\x8d\xdf\xe0\xd5\x51\xd6\xff\xb9\x28\xcb\xf6\xe0\x1a\x20\x6f\x9d\xaa\x06\x09\xb1\x60\x9e\x16\xe7\xc4\x66\x91\xfc\x1d\x00\x00\xff\xff\x1b\xb3\xd8\x8d\x64\x0d\x00\x00")
var _catalogKubedbCom_mysqlversionsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x57\x4d\x6f\xe3\x36\x13\xbe\xfb\x57\x0c\xf0\x1e\xf6\xb2\x96\x11\xbc\x97\x42\xb7\xad\x93\x16\x69\x37\x5b\x37\x4e\x73\x2d\x46\xe2\xd8\x66\x43\x91\x5c\xce\xd0\x5d\xb7\xe8\x7f\x2f\x48\xca\xb6\x64\x3b\xc9\x16\x68\x0f\xd1\x8d\xc3\xf9\x7c\x1e\xce\x90\x42\xaf\x1f\x29\xb0\x76\xb6\x06\xf4\x9a\xbe\x08\xd9\xb4\xe2\xea\xe9\x1b\xae\xb4\x9b\x6d\xaf\x1a\x12\xbc\x9a\x3c\x69\xab\x6a\x98\x47\x16\xd7\xdd\x13\xbb\x18\x5a\xba\xa6\x95\xb6\x5a\xb4\xb3\x93\x8e\x04\x15\x0a\xd6\x13\x80\x36\x10\x26\xe1\x83\xee\x88\x05\x3b\x5f\x83\x8d\xc6\x4c\x00\x0c\x36\x64\x38\xe9\x00\xa0\xf7\x35\x3c\xc5\x86\x54\x33\x01\xb0\xd8\x51\x0d\xdd\x8e\x3f\x9b\x6d\xc9\x87\xab\x16\x05\x8d\x5b\x57\x45\xa9\x6a\x5d\x37\x61\x4f\x6d\x32\x47\xa5\x72\x5c\x34\x8b\xa0\xad\x50\x98\x3b\x13\x3b\x9b\x5d\x4f\xe1\x87\xe5\x4f\x9f\x16\x28\x9b\x1a\xaa\x64\x50\xf5\x1e\x73\xd8\x12\xe8\x71\x20\x91\x9d\xa7\x1a\x58\x82\xb6\xeb\x8b\xe6\xaa\xa9\x74\x87\x6b\x1a\xd8\x5f\x7f\xfb\xeb\xed\xdd\x87\xef\x6f\xbe\xd2\x01\xf9\x40\x2d\x0a\xa9\xa1\x8b\xb1\xb0\x38\x69\x9c\x33\x84\xf6\xd4\xcb\x1e\xdd\xea\x0c\xda\x81\xc3\x0f\x7d\x86\xc5\x93\x42\x49\xcb\x75\x70\xd1\xd7\x70\x01\xca\x62\xd6\x93\x91\xf2\x58\xbb\xa0\xf7\xeb\x69\xb2\x47\x16\x17\xa8\x5f\x1f\x98\x4a\x0b\xf4\x9e\x5b\xa7\xca\x5e\x39\x19\x77\xbb\xe5\xcf\x1f\x87\xb0\x1a\xcd\xf2\xe3\xd9\xd6\x47\xcd\x92\xb7\xbd\x89\x01\xcd\x09\xe5\x79\x87\x37\x2e\xc8\xa7\x63\x6e\x53\xe8\x76\x43\x06\x59\xdb\x75\x34\x18\xc6\xb6\x13\x00\x1f\x88\x29\x6c\xe9\x17\xfb\x64\xdd\xef\xf6\x3b\x4d\x46\x71\x0d\x2b\x34\x9c\x32\xe5\xd6\x25\x60\xe6\x26\xb2\x50\x48\x82\xd8\x84\xfe\x24\x73\x0d\x7f\xfe\x35\x01\xd8\xa2\xd1\x2a\x23\x5c\x62\x3b\x4f\xf6\xc3\xe2\xf6\xf1\xff\xcb\x76\x43\x1d\x16\x61\x8a\xe4\x3c\x05\x39\xc0\x55\xce\xf3\xa1\x93\x0e\x32\x00\x45\xdc\x06\xed\xb3\x47\x78\x97\x5c\x15\x1d\x50\xa9\x77\x88\x41\x36\x04\x7d\x09\xa4\x80\x73\x18\x70\x2b\x90\x8d\x66\x08\x94\x6b\xb2\x92\x53\x1a\xb8\x85\xa4\x82\x16\x5c\xf3\x1b\xb5\x52\xc1\x32\xd5\x1d\x38\x61\x17\x8d\x82\xd6\xd9\x2d\x05\x81\x40\xad\x5b\x5b\xfd\xc7\xc1\x33\x83\xb8\x1c\xd2\xa0\x50\xcf\xc4\xfe\xcb\x7d\x64\xd1\x24\x10\x22\xbd\x07\xb4\x0a\x3a\xdc\x41\xa0\x14\x03\xa2\x1d\x78\xcb\x2a\x5c\xc1\x9d\x0b\x04\xda\xae\x5c\x0d\x1b\x11\xcf\xf5\x6c\xb6\xd6\xb2\x9f\x1d\xad\xeb\xba\x68\xb5\xec\x66\xad\xb3\x12\x74\x13\xc5\x05\x9e\x29\xda\x92\x99\xb1\x5e\x4f\x31\xb4\x1b\x2d\xd4\x4a\x0c\x34\x43\xaf\xa7\x39\x71\x2b\xb9\xfd\x3b\xf5\xbf\x03\x3d\xef\x06\x99\x9e\xb4\x5b\xf9\xf2\x21\x7c\x16\xf7\x74\x0e\x41\x33\x60\x6f\x56\xf2\x3f\xc2\x9b\x44\x09\x95\xfb\x9b\xe5\x03\xec\x83\x66\x0a\xc6\x98\x67\xb4\x8f\x66\x7c\x04\x3e\x01\xa5\xed\x8a\x42\x21\x6e\x15\x5c\x97\x3d\x92\x55\xde\x69\x2b\x79\xd1\x1a\x4d\x76\x0c\x3a\xc7\xa6\xd3\x92\x98\xfe\x1c\x89\x25\xf1\x53\xc1\x1c\xad\x75\x02\x0d\x41\xf4\xa9\x8f\x55\x05\xb7\x16\xe6\xd8\x91\x99\x23\xd3\x7f\x0e\x7b\x42\x98\xa7\x09\xd2\xd7\x81\x1f\x0e\xfe\xb1\x62\x41\xeb\x20\xde\x8f\xee\x8b\x0c\x0d\x47\xc4\xd2\x53\x9b\xc8\x4a\x88\x25\x23\x58\xb9\x00\xde\xb1\xac\x03\x31\x0c\x27\xc1\xf3\xcd\x98\x03\x34\xe3\xf5\x49\xc8\x6b\x14\x6c\x90\x09\x6e\x0f\xb3\xfd\x75\x9f\xb9\x4f\x92\xfe\xb9\xf8\x19\x7c\xca\x97\xe8\xd5\x81\xd4\xa9\xd9\x14\xf4\x85\xe8\x17\xf1\x2b\x05\xec\xef\x8c\x97\x4b\x3b\xa8\xed\xe1\x62\x88\x8c\x8d\x21\x68\x62\x3a\xbf\x6b\x0c\x8a\x14\x20\x83\x6b\xd8\x19\x12\x4a\xdd\x7e\x56\x52\x43\x2c\x80\x5b\xa7\x15\xa9\xf7\x29\x2b\xdd\xa2\x31\x3b\x50\x91\xd2\x1c\xd9\xe0\x36\x35\x4e\x43\x64\x81\xa3\xa7\xc0\xa4\x48\x55\x17\x8b\x39\x5e\x6c\xc7\x8f\xbe\x78\x17\x84\xc2\x8b\xb5\xdc\xf4\x4a\x6f\x89\xa6\xf4\x28\x9a\x3b\x2b\xa8\xed\x2b\xd5\xdd\x5a\x2d\x69\x5a\x17\xd5\xb7\x54\xa3\x77\x6a\x49\x6d\x0c\x5a\x76\x0b\x67\x74\x7b\x21\xbf\x51\xa5\x8b\xe5\xa2\x3c\x38\xfe\x41\x79\xaa\x6f\xd1\x1c\x60\x97\x9e\x04\xff\x5a\xad\xe7\xae\xbf\xb6\xf0\x40\xde\xe8\x36\x5f\xc8\x77\x4e\xd1\x35\xa5\x41\xea\x5e\xa6\xf9\xfe\xb2\xcd\x5b\xe2\x5b\x9c\x33\x2f\x33\xfc\x90\x34\xde\x52\x49\xdb\xf3\xe7\xda\x59\x51\x8f\x67\xd7\xcd\x0b\xb9\x5d\xca\x6b\x0a\xfd\xab\x79\xbf\xdc\x4f\xbd\x91\x70\x34\x31\x46\x3b\x17\xfa\x6c\xb4\xff\xcc\x71\x1c\xe9\x64\xee\x46\x92\xf3\x5b\xf4\x02\x4a\x27\xa2\x3d\x5c\xb0\xbd\x42\xe3\x37\x78\x75\x94\xf5\xff\x5d\xe5\x3f\x64\xb0\x0d\x90\x1f\xe4\xaa\x06\x09\xb1\xf0\x92\xfe\x29\x12\xe3\x45\xf2\x77\x00\x00\x00\xff\xff\x99\x80\x00\x81\x7f\x0e\x00\x00")

func catalogKubedbCom_mysqlversionsYamlBytes() ([]byte, error) {
return bindataRead(
Expand All @@ -202,7 +202,7 @@ func catalogKubedbCom_mysqlversionsYaml() (*asset, error) {
return nil, err
}

info := bindataFileInfo{name: "catalog.kubedb.com_mysqlversions.yaml", size: 3428, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
info := bindataFileInfo{name: "catalog.kubedb.com_mysqlversions.yaml", size: 3711, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
Expand Down
9 changes: 9 additions & 0 deletions api/crds/catalog.kubedb.com_mysqlversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ spec:
required:
- databasePolicyName
type: object
replicationModeDetector:
description: ReplicationModeDetector Image
properties:
image:
type: string
required:
- image
type: object
tools:
description: Tools Image
properties:
Expand All @@ -104,6 +112,7 @@ spec:
- exporter
- initContainer
- podSecurityPolicies
- replicationModeDetector
- tools
- version
type: object
Expand Down
17 changes: 17 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -19558,6 +19558,18 @@
}
}
},
"dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLVersionReplicationModeDetector": {
"description": "MySQLVersionReplicationModeDetector is the image for the MySQL replication mode detector",
"type": "object",
"required": [
"image"
],
"properties": {
"image": {
"type": "string"
}
}
},
"dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLVersionSpec": {
"description": "MySQLVersionSpec is the spec for postgres version",
"type": "object",
Expand All @@ -19566,6 +19578,7 @@
"db",
"exporter",
"tools",
"replicationModeDetector",
"initContainer",
"podSecurityPolicies"
],
Expand All @@ -19590,6 +19603,10 @@
"description": "PSP names",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLVersionPodSecurityPolicy"
},
"replicationModeDetector": {
"description": "ReplicationModeDetector Image",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLVersionReplicationModeDetector"
},
"tools": {
"description": "Tools Image",
"$ref": "#/definitions/dev.kubedb.apimachinery.apis.catalog.v1alpha1.MySQLVersionTools"
Expand Down
Loading

0 comments on commit 518ce3c

Please sign in to comment.