|
1 | | -apiVersion: apiextensions.k8s.io/v1beta1 |
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1 |
2 | 4 | kind: CustomResourceDefinition |
3 | 5 | metadata: |
4 | 6 | annotations: |
5 | | - controller-gen.kubebuilder.io/version: v0.2.5 |
| 7 | + controller-gen.kubebuilder.io/version: v0.7.0 |
| 8 | + creationTimestamp: null |
6 | 9 | name: features.config.tanzu.vmware.com |
7 | 10 | spec: |
8 | | - additionalPrinterColumns: |
9 | | - - JSONPath: .spec.activated |
10 | | - name: Activated |
11 | | - type: boolean |
12 | | - - JSONPath: .spec.description |
13 | | - name: Description |
14 | | - type: string |
15 | | - - JSONPath: .spec.immutable |
16 | | - name: Immutable |
17 | | - type: boolean |
18 | | - - JSONPath: .spec.maturity |
19 | | - name: Maturity |
20 | | - type: string |
21 | 11 | group: config.tanzu.vmware.com |
22 | 12 | names: |
23 | 13 | kind: Feature |
24 | 14 | listKind: FeatureList |
25 | 15 | plural: features |
26 | 16 | singular: feature |
27 | 17 | scope: Cluster |
28 | | - subresources: {} |
29 | | - validation: |
30 | | - openAPIV3Schema: |
31 | | - description: Feature is the Schema for the features API |
32 | | - properties: |
33 | | - apiVersion: |
34 | | - description: 'APIVersion defines the versioned schema of this representation |
35 | | - of an object. Servers should convert recognized schemas to the latest |
36 | | - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .spec.activated |
| 21 | + name: Activated |
| 22 | + type: boolean |
| 23 | + - jsonPath: .spec.description |
| 24 | + name: Description |
37 | 25 | type: string |
38 | | - kind: |
39 | | - description: 'Kind is a string value representing the REST resource this |
40 | | - object represents. Servers may infer this from the endpoint the client |
41 | | - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 26 | + - jsonPath: .spec.immutable |
| 27 | + name: Immutable |
| 28 | + type: boolean |
| 29 | + - jsonPath: .spec.maturity |
| 30 | + name: Maturity |
42 | 31 | type: string |
43 | | - metadata: |
44 | | - type: object |
45 | | - spec: |
46 | | - description: FeatureSpec defines the desired state of Feature |
| 32 | + name: v1alpha1 |
| 33 | + schema: |
| 34 | + openAPIV3Schema: |
| 35 | + description: Feature is the Schema for the features API |
47 | 36 | properties: |
48 | | - activated: |
49 | | - description: Activated defines the default state of the features activation |
50 | | - type: boolean |
51 | | - description: |
52 | | - description: Description of the feature. |
| 37 | + apiVersion: |
| 38 | + description: 'APIVersion defines the versioned schema of this representation |
| 39 | + of an object. Servers should convert recognized schemas to the latest |
| 40 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
53 | 41 | type: string |
54 | | - discoverable: |
55 | | - description: Discoverable indicates if clients should include consider |
56 | | - the Feature available for their use Allowing clients to control discoverability |
57 | | - is one of the ways the API allows gradual rollout of functionality |
58 | | - type: boolean |
59 | | - immutable: |
60 | | - description: Immutable indicates this feature cannot be toggled once |
61 | | - set If set at creation time, this state will persist for the life |
62 | | - of the cluster |
63 | | - type: boolean |
64 | | - maturity: |
65 | | - description: 'Maturity indicates maturity level of this feature. Maturity |
66 | | - levels are Dev, Alpha, Beta, GA and Deprecated. - dev: the default |
67 | | - for new resources, represents local dev. intended to be hidden and |
68 | | - deactivated - alpha: the first milestone meant for limited wider consumption, |
69 | | - discoverable and defaults to deactivated - beta: greater visibility |
70 | | - for proven designs, discoverable and defaults to activated - ga: intended |
71 | | - to be part of the mainline codebase, non-optional - deprecated: destined |
72 | | - for future removal' |
73 | | - enum: |
74 | | - - dev |
75 | | - - alpha |
76 | | - - beta |
77 | | - - ga |
78 | | - - deprecated |
| 42 | + kind: |
| 43 | + description: 'Kind is a string value representing the REST resource this |
| 44 | + object represents. Servers may infer this from the endpoint the client |
| 45 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
79 | 46 | type: string |
80 | | - required: |
81 | | - - activated |
82 | | - - discoverable |
83 | | - - immutable |
84 | | - - maturity |
| 47 | + metadata: |
| 48 | + type: object |
| 49 | + spec: |
| 50 | + description: FeatureSpec defines the desired state of Feature |
| 51 | + properties: |
| 52 | + activated: |
| 53 | + description: Activated defines the default state of the features activation |
| 54 | + type: boolean |
| 55 | + description: |
| 56 | + description: Description of the feature. |
| 57 | + type: string |
| 58 | + discoverable: |
| 59 | + description: Discoverable indicates if clients should include consider |
| 60 | + the Feature available for their use Allowing clients to control |
| 61 | + discoverability is one of the ways the API allows gradual rollout |
| 62 | + of functionality |
| 63 | + type: boolean |
| 64 | + immutable: |
| 65 | + description: Immutable indicates this feature cannot be toggled once |
| 66 | + set If set at creation time, this state will persist for the life |
| 67 | + of the cluster |
| 68 | + type: boolean |
| 69 | + maturity: |
| 70 | + description: 'Maturity indicates maturity level of this feature. Maturity |
| 71 | + levels are Dev, Alpha, Beta, GA and Deprecated. - dev: the default |
| 72 | + for new resources, represents local dev. intended to be hidden and |
| 73 | + deactivated - alpha: the first milestone meant for limited wider |
| 74 | + consumption, discoverable and defaults to deactivated - beta: greater |
| 75 | + visibility for proven designs, discoverable and defaults to activated |
| 76 | + - ga: intended to be part of the mainline codebase, non-optional |
| 77 | + - deprecated: destined for future removal' |
| 78 | + enum: |
| 79 | + - dev |
| 80 | + - alpha |
| 81 | + - beta |
| 82 | + - ga |
| 83 | + - deprecated |
| 84 | + type: string |
| 85 | + required: |
| 86 | + - activated |
| 87 | + - discoverable |
| 88 | + - immutable |
| 89 | + - maturity |
| 90 | + type: object |
| 91 | + status: |
| 92 | + description: FeatureStatus defines the observed state of Feature |
| 93 | + type: object |
85 | 94 | type: object |
86 | | - status: |
87 | | - description: FeatureStatus defines the observed state of Feature |
88 | | - type: object |
89 | | - type: object |
90 | | - version: v1alpha1 |
91 | | - versions: |
92 | | - - name: v1alpha1 |
93 | 95 | served: true |
94 | 96 | storage: true |
| 97 | + subresources: {} |
0 commit comments