
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.3.0
  creationTimestamp: null
  name: backupstrategies.jenkins.io
spec:
  group: jenkins.io
  names:
    kind: BackupStrategy
    listKind: BackupStrategyList
    plural: backupstrategies
    singular: backupstrategy
  scope: Namespaced
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      description: BackupStrategy is a reusable and referencable strategy used for
        backing up Jenkins instances and information available inside
      properties:
        apiVersion:
          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'
          type: string
        kind:
          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'
          type: string
        metadata:
          type: object
        spec:
          description: BackupStrategySpec defines the desired state of BackupStrategy
          properties:
            backupOptions:
              description: Options specifies the options provided to user to backup
                between. default BackupStrategy sets all to true
              properties:
                config:
                  type: boolean
                jobs:
                  type: boolean
                plugins:
                  type: boolean
              required:
              - config
              - jobs
              - plugins
              type: object
            quietDownDuringBackup:
              description: QuietDownDuringBackup will put the Jenkins instance in
                a QuietDown mode which prevents any new builds from taking place
              type: boolean
            restartAfterRestore:
              description: RestartAfterRestore will restart the Jenkins instance after
                a Restore
              properties:
                enabled:
                  type: boolean
                safe:
                  type: boolean
              required:
              - enabled
              type: object
          required:
          - backupOptions
          - restartAfterRestore
          type: object
        status:
          description: BackupStrategyStatus defines the observed state of BackupStrategy
          type: object
      type: object
  version: v1alpha2
  versions:
  - name: v1alpha2
    served: true
    storage: true
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
