|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + annotations: |
| 7 | + controller-gen.kubebuilder.io/version: v0.4.1 |
| 8 | + creationTimestamp: null |
| 9 | + name: backups.mysql.radondb.com |
| 10 | +spec: |
| 11 | + group: mysql.radondb.com |
| 12 | + names: |
| 13 | + kind: Backup |
| 14 | + listKind: BackupList |
| 15 | + plural: backups |
| 16 | + singular: backup |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - description: The Backup name |
| 21 | + jsonPath: .status.backupName |
| 22 | + name: BackupName |
| 23 | + type: string |
| 24 | + - description: The Backup Date time |
| 25 | + jsonPath: .status.backupDate |
| 26 | + name: BackupDate |
| 27 | + type: string |
| 28 | + - description: The Backup Type |
| 29 | + jsonPath: .status.backupType |
| 30 | + name: Type |
| 31 | + type: string |
| 32 | + - description: Whether the backup Success? |
| 33 | + jsonPath: .status.conditions[?(@.type=="Complete")].status |
| 34 | + name: Success |
| 35 | + type: string |
| 36 | + name: v1alpha1 |
| 37 | + schema: |
| 38 | + openAPIV3Schema: |
| 39 | + description: Backup is the Schema for the backups API |
| 40 | + properties: |
| 41 | + apiVersion: |
| 42 | + description: 'APIVersion defines the versioned schema of this representation |
| 43 | + of an object. Servers should convert recognized schemas to the latest |
| 44 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 45 | + type: string |
| 46 | + kind: |
| 47 | + description: 'Kind is a string value representing the REST resource this |
| 48 | + object represents. Servers may infer this from the endpoint the client |
| 49 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 50 | + type: string |
| 51 | + metadata: |
| 52 | + type: object |
| 53 | + spec: |
| 54 | + description: This is the backup Job CRD. BackupSpec defines the desired |
| 55 | + state of Backup |
| 56 | + properties: |
| 57 | + clusterName: |
| 58 | + description: ClusterName represents the cluster name to backup |
| 59 | + type: string |
| 60 | + historyLimit: |
| 61 | + default: 3 |
| 62 | + description: History Limit of job |
| 63 | + format: int32 |
| 64 | + type: integer |
| 65 | + hostName: |
| 66 | + description: HostName represents the host for which to take backup |
| 67 | + If is empty, is use leader HostName |
| 68 | + type: string |
| 69 | + image: |
| 70 | + default: radondb/mysql57-sidecar:v2.3.0 |
| 71 | + description: To specify the image that will be used for sidecar container. |
| 72 | + type: string |
| 73 | + nfsServerAddress: |
| 74 | + description: Represents the ip address of the nfs server. |
| 75 | + type: string |
| 76 | + required: |
| 77 | + - clusterName |
| 78 | + type: object |
| 79 | + status: |
| 80 | + description: BackupStatus defines the observed state of Backup |
| 81 | + properties: |
| 82 | + backupDate: |
| 83 | + description: Get the backup Date |
| 84 | + type: string |
| 85 | + backupName: |
| 86 | + description: Get the backup path. |
| 87 | + type: string |
| 88 | + backupType: |
| 89 | + description: Get the backup Type |
| 90 | + type: string |
| 91 | + completed: |
| 92 | + default: false |
| 93 | + description: Completed indicates whether the backup is in a final |
| 94 | + state, no matter whether its' corresponding job failed or succeeded |
| 95 | + type: boolean |
| 96 | + conditions: |
| 97 | + description: Conditions represents the backup resource conditions |
| 98 | + list. |
| 99 | + items: |
| 100 | + description: BackupCondition defines condition struct for backup |
| 101 | + resource |
| 102 | + properties: |
| 103 | + lastTransitionTime: |
| 104 | + description: LastTransitionTime |
| 105 | + format: date-time |
| 106 | + type: string |
| 107 | + message: |
| 108 | + description: Message |
| 109 | + type: string |
| 110 | + reason: |
| 111 | + description: Reason |
| 112 | + type: string |
| 113 | + status: |
| 114 | + description: Status of the condition, one of (\"True\", \"False\", |
| 115 | + \"Unknown\") |
| 116 | + type: string |
| 117 | + type: |
| 118 | + description: type of cluster condition, values in (\"Ready\") |
| 119 | + type: string |
| 120 | + required: |
| 121 | + - lastTransitionTime |
| 122 | + - message |
| 123 | + - reason |
| 124 | + - status |
| 125 | + - type |
| 126 | + type: object |
| 127 | + type: array |
| 128 | + gtid: |
| 129 | + description: Get the Gtid |
| 130 | + type: string |
| 131 | + required: |
| 132 | + - completed |
| 133 | + type: object |
| 134 | + type: object |
| 135 | + served: true |
| 136 | + storage: true |
| 137 | + subresources: |
| 138 | + status: {} |
| 139 | +status: |
| 140 | + acceptedNames: |
| 141 | + kind: "" |
| 142 | + plural: "" |
| 143 | + conditions: [] |
| 144 | + storedVersions: [] |
0 commit comments