|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.13.0 |
| 7 | + kubermatic.k8c.io/location: master,seed |
| 8 | + app.kubernetes.io/version: v2.25.1 |
| 9 | + name: clusterbackupstoragelocations.kubermatic.k8c.io |
| 10 | +spec: |
| 11 | + group: kubermatic.k8c.io |
| 12 | + names: |
| 13 | + kind: ClusterBackupStorageLocation |
| 14 | + listKind: ClusterBackupStorageLocationList |
| 15 | + plural: clusterbackupstoragelocations |
| 16 | + shortNames: |
| 17 | + - cbsl |
| 18 | + singular: clusterbackupstoragelocation |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - additionalPrinterColumns: |
| 22 | + - description: Backup Storage Location status such as Available/Unavailable |
| 23 | + jsonPath: .status.phase |
| 24 | + name: Phase |
| 25 | + type: string |
| 26 | + - description: LastValidationTime is the last time the backup store location was validated |
| 27 | + jsonPath: .status.lastValidationTime |
| 28 | + name: Last Validated |
| 29 | + type: date |
| 30 | + - jsonPath: .metadata.creationTimestamp |
| 31 | + name: Age |
| 32 | + type: date |
| 33 | + - description: Default backup storage location |
| 34 | + jsonPath: .spec.default |
| 35 | + name: Default |
| 36 | + type: boolean |
| 37 | + name: v1 |
| 38 | + schema: |
| 39 | + openAPIV3Schema: |
| 40 | + description: ClusterBackupStorageLocation is a KKP wrapper around Velero BSL spec. |
| 41 | + properties: |
| 42 | + apiVersion: |
| 43 | + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 44 | + type: string |
| 45 | + kind: |
| 46 | + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 47 | + type: string |
| 48 | + metadata: |
| 49 | + type: object |
| 50 | + spec: |
| 51 | + description: Spec is a Velero BSL spec |
| 52 | + properties: |
| 53 | + accessMode: |
| 54 | + description: AccessMode defines the permissions for the backup storage location. |
| 55 | + enum: |
| 56 | + - ReadOnly |
| 57 | + - ReadWrite |
| 58 | + type: string |
| 59 | + backupSyncPeriod: |
| 60 | + description: BackupSyncPeriod defines how frequently to sync backup API objects from object storage. A value of 0 disables sync. |
| 61 | + nullable: true |
| 62 | + type: string |
| 63 | + config: |
| 64 | + additionalProperties: |
| 65 | + type: string |
| 66 | + description: Config is for provider-specific configuration fields. |
| 67 | + type: object |
| 68 | + credential: |
| 69 | + description: Credential contains the credential information intended to be used with this location |
| 70 | + properties: |
| 71 | + key: |
| 72 | + description: The key of the secret to select from. Must be a valid secret key. |
| 73 | + type: string |
| 74 | + name: |
| 75 | + 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?' |
| 76 | + type: string |
| 77 | + optional: |
| 78 | + description: Specify whether the Secret or its key must be defined |
| 79 | + type: boolean |
| 80 | + required: |
| 81 | + - key |
| 82 | + type: object |
| 83 | + x-kubernetes-map-type: atomic |
| 84 | + default: |
| 85 | + description: Default indicates this location is the default backup storage location. |
| 86 | + type: boolean |
| 87 | + objectStorage: |
| 88 | + description: ObjectStorageLocation specifies the settings necessary to connect to a provider's object storage. |
| 89 | + properties: |
| 90 | + bucket: |
| 91 | + description: Bucket is the bucket to use for object storage. |
| 92 | + type: string |
| 93 | + caCert: |
| 94 | + description: CACert defines a CA bundle to use when verifying TLS connections to the provider. |
| 95 | + format: byte |
| 96 | + type: string |
| 97 | + prefix: |
| 98 | + description: Prefix is the path inside a bucket to use for Velero storage. Optional. |
| 99 | + type: string |
| 100 | + required: |
| 101 | + - bucket |
| 102 | + type: object |
| 103 | + provider: |
| 104 | + description: Provider is the provider of the backup storage. |
| 105 | + type: string |
| 106 | + validationFrequency: |
| 107 | + description: ValidationFrequency defines how frequently to validate the corresponding object storage. A value of 0 disables validation. |
| 108 | + nullable: true |
| 109 | + type: string |
| 110 | + required: |
| 111 | + - objectStorage |
| 112 | + - provider |
| 113 | + type: object |
| 114 | + status: |
| 115 | + description: BackupStorageLocationStatus defines the observed state of BackupStorageLocation |
| 116 | + properties: |
| 117 | + accessMode: |
| 118 | + description: "AccessMode is an unused field. \n Deprecated: there is now an AccessMode field on the Spec and this field will be removed entirely as of v2.0." |
| 119 | + enum: |
| 120 | + - ReadOnly |
| 121 | + - ReadWrite |
| 122 | + type: string |
| 123 | + lastSyncedRevision: |
| 124 | + description: "LastSyncedRevision is the value of the `metadata/revision` file in the backup storage location the last time the BSL's contents were synced into the cluster. \n Deprecated: this field is no longer updated or used for detecting changes to the location's contents and will be removed entirely in v2.0." |
| 125 | + type: string |
| 126 | + lastSyncedTime: |
| 127 | + description: LastSyncedTime is the last time the contents of the location were synced into the cluster. |
| 128 | + format: date-time |
| 129 | + nullable: true |
| 130 | + type: string |
| 131 | + lastValidationTime: |
| 132 | + description: LastValidationTime is the last time the backup store location was validated the cluster. |
| 133 | + format: date-time |
| 134 | + nullable: true |
| 135 | + type: string |
| 136 | + message: |
| 137 | + description: Message is a message about the backup storage location's status. |
| 138 | + type: string |
| 139 | + phase: |
| 140 | + description: Phase is the current state of the BackupStorageLocation. |
| 141 | + enum: |
| 142 | + - Available |
| 143 | + - Unavailable |
| 144 | + type: string |
| 145 | + type: object |
| 146 | + type: object |
| 147 | + served: true |
| 148 | + storage: true |
| 149 | + subresources: |
| 150 | + status: {} |
0 commit comments