summaryrefslogtreecommitdiff
path: root/vendor/github.com/openshift/api/config/v1/0000_03_config-operator_01_operatorhub.crd.yaml
blob: 8c857d45a4b692fffb6de6c636ddd0798b91bb9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: operatorhubs.config.openshift.io
spec:
  group: config.openshift.io
  names:
    kind: OperatorHub
    listKind: OperatorHubList
    plural: operatorhubs
    singular: operatorhub
  scope: Cluster
  preserveUnknownFields: false
  subresources:
    status: {}
  version: v1
  versions:
  - name: v1
    served: true
    storage: true
  "validation":
    "openAPIV3Schema":
      description: OperatorHub is the Schema for the operatorhubs API. It can be used
        to change the state of the default hub sources for OperatorHub on the cluster
        from enabled to disabled and vice versa.
      type: object
      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: OperatorHubSpec defines the desired state of OperatorHub
          type: object
          properties:
            disableAllDefaultSources:
              description: disableAllDefaultSources allows you to disable all the
                default hub sources. If this is true, a specific entry in sources
                can be used to enable a default source. If this is false, a specific
                entry in sources can be used to disable or enable a default source.
              type: boolean
            sources:
              description: sources is the list of default hub sources and their configuration.
                If the list is empty, it implies that the default hub sources are
                enabled on the cluster unless disableAllDefaultSources is true. If
                disableAllDefaultSources is true and sources is not empty, the configuration
                present in sources will take precedence. The list of default hub sources
                and their current state will always be reflected in the status block.
              type: array
              items:
                description: HubSource is used to specify the hub source and its configuration
                type: object
                properties:
                  disabled:
                    description: disabled is used to disable a default hub source
                      on cluster
                    type: boolean
                  name:
                    description: name is the name of one of the default hub sources
                    type: string
                    maxLength: 253
                    minLength: 1
        status:
          description: OperatorHubStatus defines the observed state of OperatorHub.
            The current state of the default hub sources will always be reflected
            here.
          type: object
          properties:
            sources:
              description: sources encapsulates the result of applying the configuration
                for each hub source
              type: array
              items:
                description: HubSourceStatus is used to reflect the current state
                  of applying the configuration to a default source
                type: object
                properties:
                  disabled:
                    description: disabled is used to disable a default hub source
                      on cluster
                    type: boolean
                  message:
                    description: message provides more information regarding failures
                    type: string
                  name:
                    description: name is the name of one of the default hub sources
                    type: string
                    maxLength: 253
                    minLength: 1
                  status:
                    description: status indicates success or failure in applying the
                      configuration
                    type: string