|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.12.0 |
| 7 | + name: clusteraddons.infrastructure.cluster.x-k8s.io.syself.io |
| 8 | +spec: |
| 9 | + group: infrastructure.cluster.x-k8s.io.syself.io |
| 10 | + names: |
| 11 | + kind: ClusterAddon |
| 12 | + listKind: ClusterAddonList |
| 13 | + plural: clusteraddons |
| 14 | + singular: clusteraddon |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - name: v1alpha1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: ClusterAddon is the Schema for the clusteraddons API |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: 'APIVersion defines the versioned schema of this representation |
| 24 | + of an object. Servers should convert recognized schemas to the latest |
| 25 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 26 | + type: string |
| 27 | + kind: |
| 28 | + description: 'Kind is a string value representing the REST resource this |
| 29 | + object represents. Servers may infer this from the endpoint the client |
| 30 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 31 | + type: string |
| 32 | + metadata: |
| 33 | + type: object |
| 34 | + ownerReferences: |
| 35 | + description: OwnerReference contains enough information to let you identify |
| 36 | + an owning object. An owning object must be in the same namespace as |
| 37 | + the dependent, or be cluster-scoped, so there is no namespace field. |
| 38 | + properties: |
| 39 | + apiVersion: |
| 40 | + description: API version of the referent. |
| 41 | + type: string |
| 42 | + blockOwnerDeletion: |
| 43 | + description: If true, AND if the owner has the "foregroundDeletion" |
| 44 | + finalizer, then the owner cannot be deleted from the key-value store |
| 45 | + until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion |
| 46 | + for how the garbage collector interacts with this field and enforces |
| 47 | + the foreground deletion. Defaults to false. To set this field, a |
| 48 | + user needs "delete" permission of the owner, otherwise 422 (Unprocessable |
| 49 | + Entity) will be returned. |
| 50 | + type: boolean |
| 51 | + controller: |
| 52 | + description: If true, this reference points to the managing controller. |
| 53 | + type: boolean |
| 54 | + kind: |
| 55 | + description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 56 | + type: string |
| 57 | + name: |
| 58 | + description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names' |
| 59 | + type: string |
| 60 | + uid: |
| 61 | + description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' |
| 62 | + type: string |
| 63 | + required: |
| 64 | + - apiVersion |
| 65 | + - kind |
| 66 | + - name |
| 67 | + - uid |
| 68 | + type: object |
| 69 | + x-kubernetes-map-type: atomic |
| 70 | + spec: |
| 71 | + description: ClusterAddonSpec defines the desired state of ClusterAddon |
| 72 | + properties: |
| 73 | + clusterAddonVersion: |
| 74 | + type: string |
| 75 | + clusterRef: |
| 76 | + description: "ObjectReference contains enough information to let you |
| 77 | + inspect or modify the referred object. --- New uses of this type |
| 78 | + are discouraged because of difficulty describing its usage when |
| 79 | + embedded in APIs. 1. Ignored fields. It includes many fields which |
| 80 | + are not generally honored. For instance, ResourceVersion and FieldPath |
| 81 | + are both very rarely valid in actual usage. 2. Invalid usage help. |
| 82 | + \ It is impossible to add specific help for individual usage. In |
| 83 | + most embedded usages, there are particular restrictions like, \"must |
| 84 | + refer only to types A and B\" or \"UID not honored\" or \"name must |
| 85 | + be restricted\". Those cannot be well described when embedded. 3. |
| 86 | + Inconsistent validation. Because the usages are different, the |
| 87 | + validation rules are different by usage, which makes it hard for |
| 88 | + users to predict what will happen. 4. The fields are both imprecise |
| 89 | + and overly precise. Kind is not a precise mapping to a URL. This |
| 90 | + can produce ambiguity during interpretation and require a REST mapping. |
| 91 | + \ In most cases, the dependency is on the group,resource tuple and |
| 92 | + the version of the actual struct is irrelevant. 5. We cannot easily |
| 93 | + change it. Because this type is embedded in many locations, updates |
| 94 | + to this type will affect numerous schemas. Don't make new APIs |
| 95 | + embed an underspecified API type they do not control. \n Instead |
| 96 | + of using this type, create a locally provided and used type that |
| 97 | + is well-focused on your reference. For example, ServiceReferences |
| 98 | + for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 |
| 99 | + ." |
| 100 | + properties: |
| 101 | + apiVersion: |
| 102 | + description: API version of the referent. |
| 103 | + type: string |
| 104 | + fieldPath: |
| 105 | + description: 'If referring to a piece of an object instead of |
| 106 | + an entire object, this string should contain a valid JSON/Go |
| 107 | + field access statement, such as desiredState.manifest.containers[2]. |
| 108 | + For example, if the object reference is to a container within |
| 109 | + a pod, this would take on a value like: "spec.containers{name}" |
| 110 | + (where "name" refers to the name of the container that triggered |
| 111 | + the event) or if no container name is specified "spec.containers[2]" |
| 112 | + (container with index 2 in this pod). This syntax is chosen |
| 113 | + only to have some well-defined way of referencing a part of |
| 114 | + an object. TODO: this design is not final and this field is |
| 115 | + subject to change in the future.' |
| 116 | + type: string |
| 117 | + kind: |
| 118 | + description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 119 | + type: string |
| 120 | + name: |
| 121 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' |
| 122 | + type: string |
| 123 | + namespace: |
| 124 | + description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' |
| 125 | + type: string |
| 126 | + resourceVersion: |
| 127 | + description: 'Specific resourceVersion to which this reference |
| 128 | + is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' |
| 129 | + type: string |
| 130 | + uid: |
| 131 | + description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' |
| 132 | + type: string |
| 133 | + type: object |
| 134 | + x-kubernetes-map-type: atomic |
| 135 | + clusterStack: |
| 136 | + type: string |
| 137 | + type: object |
| 138 | + status: |
| 139 | + description: ClusterAddonStatus defines the observed state of ClusterAddon |
| 140 | + type: object |
| 141 | + required: |
| 142 | + - ownerReferences |
| 143 | + type: object |
| 144 | + served: true |
| 145 | + storage: true |
| 146 | + subresources: |
| 147 | + status: {} |
0 commit comments