github.com/metaprov/modela-operator@v0.0.0-20240118193048-f378be8b74d2/bundle/manifests/management.modela.ai_modelabackups.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.9.0
     6    creationTimestamp: null
     7    name: modelabackups.management.modela.ai
     8  spec:
     9    group: management.modela.ai
    10    names:
    11      kind: ModelaBackup
    12      listKind: ModelaBackupList
    13      plural: modelabackups
    14      singular: modelabackup
    15    scope: Namespaced
    16    versions:
    17    - name: v1alpha1
    18      schema:
    19        openAPIV3Schema:
    20          description: ModelaBackup is the Schema for the modelabackups API
    21          properties:
    22            apiVersion:
    23              description: 'APIVersion defines the versioned schema of this representation
    24                of an object. Servers should convert recognized schemas to the latest
    25                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    26              type: string
    27            kind:
    28              description: 'Kind is a string value representing the REST resource this
    29                object represents. Servers may infer this from the endpoint the client
    30                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    31              type: string
    32            metadata:
    33              type: object
    34            spec:
    35              description: ModelaBackupSpec defines the desired state of ModelaBackup
    36              properties:
    37                modelaRef:
    38                  description: The modela cluster to backup
    39                  properties:
    40                    name:
    41                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
    42                        TODO: Add other useful fields. apiVersion, kind, uid?'
    43                      type: string
    44                  type: object
    45                schedule:
    46                  description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
    47                    Important: Run "make" to regenerate code after modifying this file
    48                    The schedule follows the same format used in Kubernetes CronJobs,
    49                    see https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format
    50                    Cron Schedule to backup'
    51                  type: string
    52                suspended:
    53                  type: boolean
    54              required:
    55              - modelaRef
    56              - schedule
    57              type: object
    58            status:
    59              description: ModelaBackupStatus defines the observed state of ModelaBackup
    60              properties:
    61                error:
    62                  description: Last error that occur in the backup.
    63                  type: string
    64                startedAt:
    65                  description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
    66                    of cluster Important: Run "make" to regenerate code after modifying
    67                    this file The last time a backup completed'
    68                  format: date-time
    69                  type: string
    70              type: object
    71          type: object
    72      served: true
    73      storage: true
    74      subresources:
    75        status: {}
    76  status:
    77    acceptedNames:
    78      kind: ""
    79      plural: ""
    80    conditions: null
    81    storedVersions: null