github.com/oam-dev/cluster-gateway@v1.9.0/hack/crd/addon/clustermanagementaddon.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: clustermanagementaddons.addon.open-cluster-management.io
     5  spec:
     6    group: addon.open-cluster-management.io
     7    names:
     8      kind: ClusterManagementAddOn
     9      listKind: ClusterManagementAddOnList
    10      plural: clustermanagementaddons
    11      singular: clustermanagementaddon
    12    scope: Cluster
    13    preserveUnknownFields: false
    14    versions:
    15      - additionalPrinterColumns:
    16          - jsonPath: .spec.addOnMeta.displayName
    17            name: DISPLAY NAME
    18            type: string
    19          - jsonPath: .spec.addOnConfiguration.crdName
    20            name: CRD NAME
    21            type: string
    22        name: v1alpha1
    23        schema:
    24          openAPIV3Schema:
    25            description: ClusterManagementAddOn represents the registration of an add-on
    26              to the cluster manager. This resource allows the user to discover which
    27              add-on is available for the cluster manager and also provides metadata information
    28              about the add-on. This resource also provides a linkage to ManagedClusterAddOn,
    29              the name of the ClusterManagementAddOn resource will be used for the namespace-scoped
    30              ManagedClusterAddOn resource. ClusterManagementAddOn is a cluster-scoped
    31              resource.
    32            type: object
    33            properties:
    34              apiVersion:
    35                description: 'APIVersion defines the versioned schema of this representation
    36                of an object. Servers should convert recognized schemas to the latest
    37                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    38                type: string
    39              kind:
    40                description: 'Kind is a string value representing the REST resource this
    41                object represents. Servers may infer this from the endpoint the client
    42                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    43                type: string
    44              metadata:
    45                type: object
    46              spec:
    47                description: spec represents a desired configuration for the agent on
    48                  the cluster management add-on.
    49                type: object
    50                properties:
    51                  addOnConfiguration:
    52                    description: addOnConfiguration is a reference to configuration information
    53                      for the add-on. In scenario where a multiple add-ons share the same
    54                      add-on CRD, multiple ClusterManagementAddOn resources need to be
    55                      created and reference the same AddOnConfiguration.
    56                    type: object
    57                    properties:
    58                      crName:
    59                        description: crName is the name of the CR used to configure instances
    60                          of the managed add-on. This field should be configured if add-on
    61                          CR have a consistent name across the all of the ManagedCluster
    62                          instaces.
    63                        type: string
    64                      crdName:
    65                        description: crdName is the name of the CRD used to configure
    66                          instances of the managed add-on. This field should be configured
    67                          if the add-on have a CRD that controls the configuration of
    68                          the add-on.
    69                        type: string
    70                  addOnMeta:
    71                    description: addOnMeta is a reference to the metadata information
    72                      for the add-on.
    73                    type: object
    74                    properties:
    75                      description:
    76                        description: description represents the detailed description of
    77                          the add-on.
    78                        type: string
    79                      displayName:
    80                        description: displayName represents the name of add-on that will
    81                          be displayed.
    82                        type: string
    83              status:
    84                description: status represents the current status of cluster management
    85                  add-on.
    86                type: object
    87        served: true
    88        storage: true
    89        subresources:
    90          status: {}
    91  status:
    92    acceptedNames:
    93      kind: ""
    94      plural: ""
    95    conditions: []
    96    storedVersions: []