k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/seed/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.kubermatic.k8c.io 9 spec: 10 group: kubermatic.k8c.io 11 names: 12 categories: 13 - kkpee 14 kind: EtcdRestore 15 listKind: EtcdRestoreList 16 plural: etcdrestores 17 singular: etcdrestore 18 scope: Namespaced 19 versions: 20 - additionalPrinterColumns: 21 - jsonPath: .spec.cluster.name 22 name: Cluster 23 type: string 24 - jsonPath: .status.phase 25 name: Phase 26 type: string 27 - jsonPath: .metadata.creationTimestamp 28 name: Age 29 type: date 30 name: v1 31 schema: 32 openAPIV3Schema: 33 description: "EtcdRestore specifies how to restore an etcd backup for a usercluster. \n Note that this resource is part of a KKP Enterprise feature and is not used in the Community Edition." 34 properties: 35 apiVersion: 36 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' 37 type: string 38 kind: 39 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' 40 type: string 41 metadata: 42 type: object 43 spec: 44 description: EtcdRestoreSpec specifies details of an etcd restore. 45 properties: 46 backupDownloadCredentialsSecret: 47 description: BackupDownloadCredentialsSecret is the name of a secret in the cluster-xxx namespace containing credentials needed to download the backup 48 type: string 49 backupName: 50 description: BackupName is the name of the backup to restore from 51 type: string 52 cluster: 53 description: Cluster is the reference to the cluster whose etcd will be backed up. 54 properties: 55 name: 56 description: Name of the Cluster object. 57 type: string 58 required: 59 - name 60 type: object 61 destination: 62 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 63 type: string 64 required: 65 - backupName 66 - cluster 67 type: object 68 status: 69 properties: 70 phase: 71 description: EtcdRestorePhase represents the lifecycle phase of an EtcdRestore. 72 enum: 73 - Started 74 - StsRebuilding 75 - Completed 76 - EtcdLauncherNotEnabled 77 type: string 78 restoreTime: 79 format: date-time 80 type: string 81 required: 82 - phase 83 type: object 84 type: object 85 served: true 86 storage: true 87 subresources: 88 status: {}