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