|
1 | | -apiVersion: apiextensions.k8s.io/v1beta1 |
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
2 | 2 | kind: CustomResourceDefinition |
3 | 3 | metadata: |
4 | | - creationTimestamp: null |
5 | 4 | name: clustermanagementaddons.addon.open-cluster-management.io |
6 | 5 | spec: |
7 | | - additionalPrinterColumns: |
8 | | - - JSONPath: .spec.addOnMeta.displayName |
9 | | - name: DISPLAY NAME |
10 | | - type: string |
11 | | - - JSONPath: .spec.addOnConfiguration.crdName |
12 | | - name: CRD NAME |
13 | | - type: string |
14 | 6 | group: addon.open-cluster-management.io |
15 | 7 | names: |
16 | 8 | kind: ClusterManagementAddOn |
17 | 9 | listKind: ClusterManagementAddOnList |
18 | 10 | plural: clustermanagementaddons |
19 | 11 | singular: clustermanagementaddon |
20 | | - preserveUnknownFields: false |
21 | 12 | scope: Cluster |
22 | | - subresources: |
23 | | - status: {} |
24 | | - validation: |
25 | | - openAPIV3Schema: |
26 | | - description: ClusterManagementAddOn represents the registration of an add-on |
27 | | - to the cluster manager. This resource allows the user to discover which add-on |
28 | | - is available for the cluster manager and also provides metadata information |
29 | | - about the add-on. This resource also provides a linkage to ManagedClusterAddOn, |
30 | | - the name of the ClusterManagementAddOn resource will be used for the namespace-scoped |
31 | | - ManagedClusterAddOn resource. ClusterManagementAddOn is a cluster-scoped 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 the |
48 | | - 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 created |
55 | | - 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 instances |
66 | | - of the managed add-on. This field should be configured if the |
67 | | - add-on have a CRD that controls the configuration of the add-on. |
68 | | - type: string |
69 | | - addOnMeta: |
70 | | - description: addOnMeta is a reference to the metadata information for |
71 | | - the add-on. |
72 | | - type: object |
73 | | - properties: |
74 | | - description: |
75 | | - description: description represents the detailed description of |
76 | | - the add-on. |
77 | | - type: string |
78 | | - displayName: |
79 | | - description: displayName represents the name of add-on that will |
80 | | - be displayed. |
81 | | - type: string |
82 | | - status: |
83 | | - description: status represents the current status of cluster management |
84 | | - add-on. |
85 | | - type: object |
86 | | - version: v1alpha1 |
| 13 | + preserveUnknownFields: false |
87 | 14 | versions: |
88 | | - - name: v1alpha1 |
| 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 |
89 | 87 | served: true |
90 | 88 | storage: true |
| 89 | + subresources: |
| 90 | + status: {} |
91 | 91 | status: |
92 | 92 | acceptedNames: |
93 | 93 | kind: "" |
|
0 commit comments