|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: galerabackups.mariadb.openstack.org |
| 8 | +spec: |
| 9 | + group: mariadb.openstack.org |
| 10 | + names: |
| 11 | + kind: GaleraBackup |
| 12 | + listKind: GaleraBackupList |
| 13 | + plural: galerabackups |
| 14 | + singular: galerabackup |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - additionalPrinterColumns: |
| 18 | + - description: Ready |
| 19 | + jsonPath: .status.conditions[0].status |
| 20 | + name: Ready |
| 21 | + type: string |
| 22 | + - description: Message |
| 23 | + jsonPath: .status.conditions[0].message |
| 24 | + name: Message |
| 25 | + type: string |
| 26 | + name: v1beta1 |
| 27 | + schema: |
| 28 | + openAPIV3Schema: |
| 29 | + description: GaleraBackup is the Schema for the galerabackups API |
| 30 | + properties: |
| 31 | + apiVersion: |
| 32 | + description: |- |
| 33 | + APIVersion defines the versioned schema of this representation of an object. |
| 34 | + Servers should convert recognized schemas to the latest internal value, and |
| 35 | + may reject unrecognized values. |
| 36 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 37 | + type: string |
| 38 | + kind: |
| 39 | + description: |- |
| 40 | + Kind is a string value representing the REST resource this object represents. |
| 41 | + Servers may infer this from the endpoint the client submits requests to. |
| 42 | + Cannot be updated. |
| 43 | + In CamelCase. |
| 44 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 45 | + type: string |
| 46 | + metadata: |
| 47 | + type: object |
| 48 | + spec: |
| 49 | + description: GaleraBackupSpec defines the desired state of GaleraBackup |
| 50 | + properties: |
| 51 | + databaseInstance: |
| 52 | + description: Galera cluster to backup |
| 53 | + type: string |
| 54 | + retention: |
| 55 | + description: Time duration after which old backups must be reclaimed |
| 56 | + on disk |
| 57 | + type: string |
| 58 | + schedule: |
| 59 | + default: '@hourly' |
| 60 | + description: The schedule in Cron format |
| 61 | + type: string |
| 62 | + storageClass: |
| 63 | + description: Storage volume for backup data |
| 64 | + type: string |
| 65 | + storageRequest: |
| 66 | + description: Storage Request for backup data |
| 67 | + type: string |
| 68 | + transferStorage: |
| 69 | + description: Configuration of storage used for intermediate data transfer |
| 70 | + properties: |
| 71 | + storageClass: |
| 72 | + description: Storage volume for backup data |
| 73 | + type: string |
| 74 | + storageRequest: |
| 75 | + description: Storage Request for backup data |
| 76 | + type: string |
| 77 | + required: |
| 78 | + - storageRequest |
| 79 | + type: object |
| 80 | + required: |
| 81 | + - schedule |
| 82 | + type: object |
| 83 | + status: |
| 84 | + description: GaleraBackupStatus defines the observed state of GaleraBackup |
| 85 | + properties: |
| 86 | + conditions: |
| 87 | + description: Deployment Conditions |
| 88 | + items: |
| 89 | + description: Condition defines an observation of a API resource |
| 90 | + operational state. |
| 91 | + properties: |
| 92 | + lastTransitionTime: |
| 93 | + description: |- |
| 94 | + Last time the condition transitioned from one status to another. |
| 95 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 96 | + the API field changed is acceptable. |
| 97 | + format: date-time |
| 98 | + type: string |
| 99 | + message: |
| 100 | + description: A human readable message indicating details about |
| 101 | + the transition. |
| 102 | + type: string |
| 103 | + reason: |
| 104 | + description: The reason for the condition's last transition |
| 105 | + in CamelCase. |
| 106 | + type: string |
| 107 | + severity: |
| 108 | + description: |- |
| 109 | + Severity provides a classification of Reason code, so the current situation is immediately |
| 110 | + understandable and could act accordingly. |
| 111 | + It is meant for situations where Status=False and it should be indicated if it is just |
| 112 | + informational, warning (next reconciliation might fix it) or an error (e.g. DB create issue |
| 113 | + and no actions to automatically resolve the issue can/should be done). |
| 114 | + For conditions where Status=Unknown or Status=True the Severity should be SeverityNone. |
| 115 | + type: string |
| 116 | + status: |
| 117 | + description: Status of the condition, one of True, False, Unknown. |
| 118 | + type: string |
| 119 | + type: |
| 120 | + description: Type of condition in CamelCase. |
| 121 | + type: string |
| 122 | + required: |
| 123 | + - lastTransitionTime |
| 124 | + - status |
| 125 | + - type |
| 126 | + type: object |
| 127 | + type: array |
| 128 | + hash: |
| 129 | + additionalProperties: |
| 130 | + type: string |
| 131 | + description: Map of hashes to track input changes |
| 132 | + type: object |
| 133 | + observedGeneration: |
| 134 | + description: |- |
| 135 | + ObservedGeneration - the most recent generation observed for this |
| 136 | + service. If the observed generation is less than the spec generation, |
| 137 | + then the controller has not processed the latest changes injected by |
| 138 | + the opentack-operator in the top-level CR (e.g. the ContainerImage) |
| 139 | + format: int64 |
| 140 | + type: integer |
| 141 | + type: object |
| 142 | + type: object |
| 143 | + served: true |
| 144 | + storage: true |
| 145 | + subresources: |
| 146 | + status: {} |
| 147 | +status: |
| 148 | + acceptedNames: |
| 149 | + kind: "" |
| 150 | + plural: "" |
| 151 | + conditions: null |
| 152 | + storedVersions: null |
0 commit comments