github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/rancher-backup-crd/templates/backup.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: backups.resources.cattle.io
     5  spec:
     6    group: resources.cattle.io
     7    names:
     8      kind: Backup
     9      plural: backups
    10      singular: backup
    11    scope: Cluster
    12    versions:
    13    - additionalPrinterColumns:
    14      - jsonPath: .status.storageLocation
    15        name: Location
    16        type: string
    17      - jsonPath: .status.backupType
    18        name: Type
    19        type: string
    20      - jsonPath: .status.filename
    21        name: Latest-Backup
    22        type: string
    23      - jsonPath: .spec.resourceSetName
    24        name: ResourceSet
    25        type: string
    26      - jsonPath: .metadata.creationTimestamp
    27        name: Age
    28        type: date
    29      - jsonPath: .status.conditions[?(@.type=="Ready")].message
    30        name: Status
    31        type: string
    32      name: v1
    33      schema:
    34        openAPIV3Schema:
    35          properties:
    36            spec:
    37              properties:
    38                encryptionConfigSecretName:
    39                  description: Name of the Secret containing the encryption config
    40                  nullable: true
    41                  type: string
    42                resourceSetName:
    43                  description: Name of the ResourceSet CR to use for backup
    44                  nullable: true
    45                  type: string
    46                retentionCount:
    47                  minimum: 1
    48                  type: integer
    49                schedule:
    50                  description: Cron schedule for recurring backups
    51                  example:
    52                    Descriptors: '@midnight'
    53                    Standard crontab specs: 0 0 * * *
    54                  nullable: true
    55                  type: string
    56                storageLocation:
    57                  nullable: true
    58                  properties:
    59                    s3:
    60                      nullable: true
    61                      properties:
    62                        bucketName:
    63                          nullable: true
    64                          type: string
    65                        credentialSecretName:
    66                          nullable: true
    67                          type: string
    68                        credentialSecretNamespace:
    69                          nullable: true
    70                          type: string
    71                        endpoint:
    72                          nullable: true
    73                          type: string
    74                        endpointCA:
    75                          nullable: true
    76                          type: string
    77                        folder:
    78                          nullable: true
    79                          type: string
    80                        insecureTLSSkipVerify:
    81                          type: boolean
    82                        region:
    83                          nullable: true
    84                          type: string
    85                      type: object
    86                  type: object
    87              required:
    88              - resourceSetName
    89              type: object
    90            status:
    91              properties:
    92                backupType:
    93                  nullable: true
    94                  type: string
    95                conditions:
    96                  items:
    97                    properties:
    98                      lastTransitionTime:
    99                        nullable: true
   100                        type: string
   101                      lastUpdateTime:
   102                        nullable: true
   103                        type: string
   104                      message:
   105                        nullable: true
   106                        type: string
   107                      reason:
   108                        nullable: true
   109                        type: string
   110                      status:
   111                        nullable: true
   112                        type: string
   113                      type:
   114                        nullable: true
   115                        type: string
   116                    type: object
   117                  nullable: true
   118                  type: array
   119                filename:
   120                  nullable: true
   121                  type: string
   122                lastSnapshotTs:
   123                  nullable: true
   124                  type: string
   125                nextSnapshotAt:
   126                  nullable: true
   127                  type: string
   128                observedGeneration:
   129                  type: integer
   130                storageLocation:
   131                  nullable: true
   132                  type: string
   133                summary:
   134                  nullable: true
   135                  type: string
   136              type: object
   137          type: object
   138      served: true
   139      storage: true
   140      subresources:
   141        status: {}