k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/seed/kubermatic.k8c.io_etcdbackupconfigs.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: etcdbackupconfigs.kubermatic.k8c.io 9 spec: 10 group: kubermatic.k8c.io 11 names: 12 categories: 13 - kkpee 14 kind: EtcdBackupConfig 15 listKind: EtcdBackupConfigList 16 plural: etcdbackupconfigs 17 singular: etcdbackupconfig 18 scope: Namespaced 19 versions: 20 - additionalPrinterColumns: 21 - jsonPath: .spec.cluster.name 22 name: Cluster 23 type: string 24 - jsonPath: .metadata.creationTimestamp 25 name: Age 26 type: date 27 name: v1 28 schema: 29 openAPIV3Schema: 30 description: "EtcdBackupConfig specifies the configuration for a usercluster etcd backup. \n Note that this resource is part of a KKP Enterprise feature and is not used in the Community Edition." 31 properties: 32 apiVersion: 33 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' 34 type: string 35 kind: 36 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' 37 type: string 38 metadata: 39 type: object 40 spec: 41 description: EtcdBackupConfigSpec specifies details of an etcd backup. 42 properties: 43 cluster: 44 description: Cluster is the reference to the cluster whose etcd will be backed up. 45 properties: 46 name: 47 description: Name of the Cluster object. 48 type: string 49 required: 50 - name 51 type: object 52 destination: 53 description: Destination indicates where the backup will be stored. The destination name must correspond to a destination in the cluster's Seed.Spec.EtcdBackupRestore. 54 type: string 55 keep: 56 description: Keep is the number of backups to keep around before deleting the oldest one If not set, defaults to DefaultKeptBackupsCount. Only used if Schedule is set. 57 type: integer 58 name: 59 description: Name defines the name of the backup The name of the backup file in S3 will be <cluster>-<backup name> If a schedule is set (see below), -<timestamp> will be appended. 60 type: string 61 schedule: 62 description: Schedule is a cron expression defining when to perform the backup. If not set, the backup is performed exactly once, immediately. 63 type: string 64 required: 65 - cluster 66 - destination 67 - name 68 type: object 69 status: 70 properties: 71 cleanupRunning: 72 description: If the controller was configured with a cleanupContainer, CleanupRunning keeps track of the corresponding job 73 type: boolean 74 conditions: 75 additionalProperties: 76 properties: 77 lastHeartbeatTime: 78 description: Last time we got an update on a given condition. 79 format: date-time 80 type: string 81 lastTransitionTime: 82 description: Last time the condition transit from one status to another. 83 format: date-time 84 type: string 85 message: 86 description: Human readable message indicating details about last transition. 87 type: string 88 reason: 89 description: (brief) reason for the condition's last transition. 90 type: string 91 status: 92 description: Status of the condition, one of True, False, Unknown. 93 type: string 94 required: 95 - lastHeartbeatTime 96 - status 97 type: object 98 description: Conditions contains conditions of the EtcdBackupConfig 99 type: object 100 currentBackups: 101 description: CurrentBackups tracks the creation and deletion progress of all backups managed by the EtcdBackupConfig 102 items: 103 properties: 104 backupFinishedTime: 105 format: date-time 106 type: string 107 backupMessage: 108 type: string 109 backupName: 110 type: string 111 backupPhase: 112 description: EtcdBackupPhase is used to indicate the type of a EtcdBackupConfig condition. For all condition types, the `true` value must indicate success. 113 enum: 114 - Running 115 - Completed 116 - Failed 117 type: string 118 backupStartTime: 119 format: date-time 120 type: string 121 deleteFinishedTime: 122 format: date-time 123 type: string 124 deleteJobName: 125 type: string 126 deleteMessage: 127 type: string 128 deletePhase: 129 description: EtcdBackupPhase is used to indicate the type of a EtcdBackupConfig condition. For all condition types, the `true` value must indicate success. 130 enum: 131 - Running 132 - Completed 133 - Failed 134 type: string 135 deleteStartTime: 136 format: date-time 137 type: string 138 jobName: 139 type: string 140 scheduledTime: 141 description: ScheduledTime will always be set when the BackupStatus is created, so it'll never be nil 142 format: date-time 143 type: string 144 type: object 145 type: array 146 type: object 147 type: object 148 served: true 149 storage: true 150 subresources: 151 status: {}