github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/velero/crds/backupstoragelocations.yaml (about) 1 2 --- 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 labels: 7 component: velero 8 annotations: 9 controller-gen.kubebuilder.io/version: v0.7.0 10 creationTimestamp: null 11 name: backupstoragelocations.velero.io 12 spec: 13 group: velero.io 14 names: 15 kind: BackupStorageLocation 16 listKind: BackupStorageLocationList 17 plural: backupstoragelocations 18 shortNames: 19 - bsl 20 singular: backupstoragelocation 21 scope: Namespaced 22 versions: 23 - additionalPrinterColumns: 24 - description: Backup Storage Location status such as Available/Unavailable 25 jsonPath: .status.phase 26 name: Phase 27 type: string 28 - description: LastValidationTime is the last time the backup store location was 29 validated 30 jsonPath: .status.lastValidationTime 31 name: Last Validated 32 type: date 33 - jsonPath: .metadata.creationTimestamp 34 name: Age 35 type: date 36 - description: Default backup storage location 37 jsonPath: .spec.default 38 name: Default 39 type: boolean 40 name: v1 41 schema: 42 openAPIV3Schema: 43 description: BackupStorageLocation is a location where Velero stores backup 44 objects 45 properties: 46 apiVersion: 47 description: 'APIVersion defines the versioned schema of this representation 48 of an object. Servers should convert recognized schemas to the latest 49 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 50 type: string 51 kind: 52 description: 'Kind is a string value representing the REST resource this 53 object represents. Servers may infer this from the endpoint the client 54 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 55 type: string 56 metadata: 57 type: object 58 spec: 59 description: BackupStorageLocationSpec defines the desired state of a 60 Velero BackupStorageLocation 61 properties: 62 accessMode: 63 description: AccessMode defines the permissions for the backup storage 64 location. 65 enum: 66 - ReadOnly 67 - ReadWrite 68 type: string 69 backupSyncPeriod: 70 description: BackupSyncPeriod defines how frequently to sync backup 71 API objects from object storage. A value of 0 disables sync. 72 nullable: true 73 type: string 74 config: 75 additionalProperties: 76 type: string 77 description: Config is for provider-specific configuration fields. 78 type: object 79 credential: 80 description: Credential contains the credential information intended 81 to be used with this location 82 properties: 83 key: 84 description: The key of the secret to select from. Must be a 85 valid secret key. 86 type: string 87 name: 88 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 89 TODO: Add other useful fields. apiVersion, kind, uid?' 90 type: string 91 optional: 92 description: Specify whether the Secret or its key must be defined 93 type: boolean 94 required: 95 - key 96 type: object 97 default: 98 description: Default indicates this location is the default backup 99 storage location. 100 type: boolean 101 objectStorage: 102 description: ObjectStorageLocation specifies the settings necessary 103 to connect to a provider's object storage. 104 properties: 105 bucket: 106 description: Bucket is the bucket to use for object storage. 107 type: string 108 caCert: 109 description: CACert defines a CA bundle to use when verifying 110 TLS connections to the provider. 111 format: byte 112 type: string 113 prefix: 114 description: Prefix is the path inside a bucket to use for Velero 115 storage. Optional. 116 type: string 117 required: 118 - bucket 119 type: object 120 provider: 121 description: Provider is the provider of the backup storage. 122 type: string 123 validationFrequency: 124 description: ValidationFrequency defines how frequently to validate 125 the corresponding object storage. A value of 0 disables validation. 126 nullable: true 127 type: string 128 required: 129 - objectStorage 130 - provider 131 type: object 132 status: 133 description: BackupStorageLocationStatus defines the observed state of 134 BackupStorageLocation 135 properties: 136 accessMode: 137 description: "AccessMode is an unused field. \n Deprecated: there 138 is now an AccessMode field on the Spec and this field will be removed 139 entirely as of v2.0." 140 enum: 141 - ReadOnly 142 - ReadWrite 143 type: string 144 lastSyncedRevision: 145 description: "LastSyncedRevision is the value of the `metadata/revision` 146 file in the backup storage location the last time the BSL's contents 147 were synced into the cluster. \n Deprecated: this field is no longer 148 updated or used for detecting changes to the location's contents 149 and will be removed entirely in v2.0." 150 type: string 151 lastSyncedTime: 152 description: LastSyncedTime is the last time the contents of the location 153 were synced into the cluster. 154 format: date-time 155 nullable: true 156 type: string 157 lastValidationTime: 158 description: LastValidationTime is the last time the backup store 159 location was validated the cluster. 160 format: date-time 161 nullable: true 162 type: string 163 message: 164 description: Message is a message about the backup storage location's 165 status. 166 type: string 167 phase: 168 description: Phase is the current state of the BackupStorageLocation. 169 enum: 170 - Available 171 - Unavailable 172 type: string 173 type: object 174 type: object 175 served: true 176 storage: true 177 subresources: {} 178 status: 179 acceptedNames: 180 kind: "" 181 plural: "" 182 conditions: [] 183 storedVersions: []