k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/kcp/ee.kubermatic.k8c.io_etcdrestores.yaml (about) 1 # This file has been generated by hack/update-codegen.sh, DO NOT EDIT. 2 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 annotations: 7 controller-gen.kubebuilder.io/version: v0.12.0 8 name: etcdrestores.ee.kubermatic.k8c.io 9 spec: 10 group: ee.kubermatic.k8c.io 11 names: 12 kind: EtcdRestore 13 listKind: EtcdRestoreList 14 plural: etcdrestores 15 singular: etcdrestore 16 scope: Cluster 17 versions: 18 - additionalPrinterColumns: 19 - jsonPath: .spec.cluster.name 20 name: Cluster 21 type: string 22 - jsonPath: .status.phase 23 name: Phase 24 type: string 25 - jsonPath: .metadata.creationTimestamp 26 name: Age 27 type: date 28 name: v1 29 schema: 30 openAPIV3Schema: 31 description: EtcdRestore specifies how to restore an etcd backup for a usercluster. 32 properties: 33 apiVersion: 34 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' 35 type: string 36 kind: 37 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' 38 type: string 39 metadata: 40 type: object 41 spec: 42 description: EtcdRestoreSpec specifies details of an etcd restore. 43 properties: 44 backupDownloadCredentialsSecret: 45 description: BackupDownloadCredentialsSecret is the name of a secret in the cluster-xxx namespace containing credentials needed to download the backup 46 type: string 47 backupName: 48 description: BackupName is the name of the backup to restore from 49 type: string 50 cluster: 51 description: Cluster is the reference to the cluster whose etcd will be backed up. 52 properties: 53 name: 54 description: Name of the Cluster object. 55 type: string 56 required: 57 - name 58 type: object 59 destination: 60 description: Destination indicates where the backup was stored. The destination name should correspond to a destination in the cluster's Seed.Spec.EtcdBackupRestore. If empty, it will use the legacy destination configured in Seed.Spec.BackupRestore 61 type: string 62 required: 63 - backupName 64 - cluster 65 type: object 66 status: 67 properties: 68 phase: 69 description: EtcdRestorePhase represents the lifecycle phase of an EtcdRestore. 70 enum: 71 - Started 72 - StsRebuilding 73 - Completed 74 - EtcdLauncherNotEnabled 75 type: string 76 restoreTime: 77 format: date-time 78 type: string 79 required: 80 - phase 81 type: object 82 type: object 83 served: true 84 storage: true 85 subresources: 86 status: {}