github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/backup.giantswarm.io_etcdbackups.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: etcdbackups.backup.giantswarm.io
    10  spec:
    11    group: backup.giantswarm.io
    12    names:
    13      categories:
    14      - common
    15      - giantswarm
    16      kind: ETCDBackup
    17      listKind: ETCDBackupList
    18      plural: etcdbackups
    19      singular: etcdbackup
    20    scope: Cluster
    21    versions:
    22    - name: v1alpha1
    23      schema:
    24        openAPIV3Schema:
    25          properties:
    26            apiVersion:
    27              description: 'APIVersion defines the versioned schema of this representation
    28                of an object. Servers should convert recognized schemas to the latest
    29                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    30              type: string
    31            kind:
    32              description: 'Kind is a string value representing the REST resource this
    33                object represents. Servers may infer this from the endpoint the client
    34                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              properties:
    40                guestBackup:
    41                  description: GuestBackup is a boolean indicating if the tenant clusters
    42                    have to be backupped
    43                  type: boolean
    44              required:
    45              - guestBackup
    46              type: object
    47            status:
    48              properties:
    49                finishedTimestamp:
    50                  description: Timestamp when the last (final) attempt was made (when
    51                    the Phase became either 'Completed' or 'Failed'
    52                  format: date-time
    53                  nullable: true
    54                  type: string
    55                instances:
    56                  additionalProperties:
    57                    properties:
    58                      name:
    59                        description: Name of the tenant cluster or 'Control Plane'
    60                        type: string
    61                      v2:
    62                        description: Status of the V2 backup for this instance
    63                        properties:
    64                          backupFileSize:
    65                            description: Size of the backup file
    66                            format: int64
    67                            type: integer
    68                          creationTime:
    69                            description: Time took by the backup creation process
    70                            format: int64
    71                            type: integer
    72                          encryptionTime:
    73                            description: Time took by the backup encryption process
    74                            format: int64
    75                            type: integer
    76                          finishedTimestamp:
    77                            description: Timestamp when the last (final) attempt was
    78                              made (when the Phase became either 'Completed' or 'Failed'
    79                            format: date-time
    80                            nullable: true
    81                            type: string
    82                          latestError:
    83                            description: Latest backup error message
    84                            type: string
    85                          startedTimestamp:
    86                            description: Timestamp when the first attempt was made
    87                            format: date-time
    88                            nullable: true
    89                            type: string
    90                          status:
    91                            description: Status of this isntance's backup job (can be
    92                              'Pending', 'Running'. 'Completed', 'Failed')
    93                            type: string
    94                          uploadTime:
    95                            description: Time took by the backup upload process
    96                            format: int64
    97                            type: integer
    98                        required:
    99                        - status
   100                        type: object
   101                      v3:
   102                        description: Status of the V3 backup for this instance
   103                        properties:
   104                          backupFileSize:
   105                            description: Size of the backup file
   106                            format: int64
   107                            type: integer
   108                          creationTime:
   109                            description: Time took by the backup creation process
   110                            format: int64
   111                            type: integer
   112                          encryptionTime:
   113                            description: Time took by the backup encryption process
   114                            format: int64
   115                            type: integer
   116                          finishedTimestamp:
   117                            description: Timestamp when the last (final) attempt was
   118                              made (when the Phase became either 'Completed' or 'Failed'
   119                            format: date-time
   120                            nullable: true
   121                            type: string
   122                          latestError:
   123                            description: Latest backup error message
   124                            type: string
   125                          startedTimestamp:
   126                            description: Timestamp when the first attempt was made
   127                            format: date-time
   128                            nullable: true
   129                            type: string
   130                          status:
   131                            description: Status of this isntance's backup job (can be
   132                              'Pending', 'Running'. 'Completed', 'Failed')
   133                            type: string
   134                          uploadTime:
   135                            description: Time took by the backup upload process
   136                            format: int64
   137                            type: integer
   138                        required:
   139                        - status
   140                        type: object
   141                    required:
   142                    - name
   143                    - v2
   144                    - v3
   145                    type: object
   146                  description: map containing the state of the backup for all instances
   147                  nullable: true
   148                  type: object
   149                startedTimestamp:
   150                  description: Timestamp when the first attempt was made
   151                  format: date-time
   152                  nullable: true
   153                  type: string
   154                status:
   155                  description: Status of the whole backup job (can be 'Pending', 'Running'.
   156                    'Completed', 'Failed')
   157                  type: string
   158              required:
   159              - status
   160              type: object
   161          required:
   162          - metadata
   163          - spec
   164          type: object
   165      served: true
   166      storage: true
   167      subresources:
   168        status: {}
   169  status:
   170    acceptedNames:
   171      kind: ""
   172      plural: ""
   173    conditions: []
   174    storedVersions: []