Skip to content

Commit

Permalink
Add MongoDBModificationRequest Spec
Browse files Browse the repository at this point in the history
Signed-off-by: Fahim Abrar <fahimabrar@appscode.com>
  • Loading branch information
Fahim Abrar authored and tamalsaha committed May 18, 2020
1 parent 9ee80ef commit 9bf2c80
Show file tree
Hide file tree
Showing 17 changed files with 989 additions and 126 deletions.
4 changes: 2 additions & 2 deletions api/crds/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func dbaKubedbCom_memcachedmodificationrequestsYaml() (*asset, error) {
return a, nil
}

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

func dbaKubedbCom_mongodbmodificationrequestsYamlBytes() ([]byte, error) {
return bindataRead(
Expand All @@ -382,7 +382,7 @@ func dbaKubedbCom_mongodbmodificationrequestsYaml() (*asset, error) {
return nil, err
}

info := bindataFileInfo{name: "dba.kubedb.com_mongodbmodificationrequests.yaml", size: 2817, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
info := bindataFileInfo{name: "dba.kubedb.com_mongodbmodificationrequests.yaml", size: 4448, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
Expand Down
53 changes: 49 additions & 4 deletions api/crds/dba.kubedb.com_mongodbmodificationrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ metadata:
app.kubernetes.io/name: kubedb
name: mongodbmodificationrequests.dba.kubedb.com
spec:
additionalPrinterColumns:
- JSONPath: .spec.type
name: Type
type: string
- JSONPath: .status.phase
name: Status
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: dba.kubedb.com
names:
categories:
Expand All @@ -20,6 +30,8 @@ spec:
singular: mongodbmodificationrequest
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
Expand All @@ -36,12 +48,35 @@ spec:
metadata:
type: object
spec:
description: MongoDBModificationRequestSpec is the spec for elasticsearch
version
description: MongoDBModificationRequestSpec is the spec for mongodb modification
request
properties:
databaseRef:
description: Specifies the Elasticsearch reference
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
type:
description: Specifies the modification request type; ScaleUp, ScaleDown,
Upgrade etc.
type: string
update:
description: Specifies the field information that needed to be updated
properties:
targetVersion:
description: Specifies the ElasticsearchVersion object name
type: string
type: object
required:
- databaseRef
- type
type: object
status:
description: MongoDBModificationRequestStatus is the status for elasticsearch
version
description: MongoDBModificationRequestStatus is the status for mongodb
modification request
properties:
conditions:
description: Conditions applied to the request, such as approval or
Expand Down Expand Up @@ -69,6 +104,16 @@ spec:
- type
type: object
type: array
observedGeneration:
description: observedGeneration is the most recent generation observed
for this resource. It corresponds to the resource's generation, which
is updated on mutation by the API Server.
format: int64
type: integer
phase:
type: string
reason:
type: string
type: object
type: object
version: v1alpha1
Expand Down
Loading

0 comments on commit 9bf2c80

Please sign in to comment.