|
| 1 | +# SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.) |
| 2 | +# SPDX-FileContributor: enriqueavi@inditex.com |
| 3 | +# |
| 4 | +# SPDX-License-Identifier: Apache-2.0 |
| 5 | + |
| 6 | +--- |
| 7 | +apiVersion: apiextensions.k8s.io/v1 |
| 8 | +kind: CustomResourceDefinition |
| 9 | +metadata: |
| 10 | + annotations: |
| 11 | + controller-gen.kubebuilder.io/version: v0.16.1 |
| 12 | + name: overcommitclasses.overcommit.inditex.dev |
| 13 | +spec: |
| 14 | + group: overcommit.inditex.dev |
| 15 | + names: |
| 16 | + kind: OvercommitClass |
| 17 | + listKind: OvercommitClassList |
| 18 | + plural: overcommitclasses |
| 19 | + shortNames: |
| 20 | + - oc |
| 21 | + - ocs |
| 22 | + singular: overcommitclass |
| 23 | + scope: Cluster |
| 24 | + versions: |
| 25 | + - additionalPrinterColumns: |
| 26 | + - description: CPU overcommit ratio |
| 27 | + jsonPath: .spec.cpuOvercommit |
| 28 | + name: CPU |
| 29 | + type: number |
| 30 | + - description: Memory overcommit ratio |
| 31 | + jsonPath: .spec.memoryOvercommit |
| 32 | + name: Memory |
| 33 | + type: number |
| 34 | + - description: Is default overcommit class |
| 35 | + jsonPath: .spec.isDefault |
| 36 | + name: Default |
| 37 | + type: boolean |
| 38 | + name: v1alphav1 |
| 39 | + schema: |
| 40 | + openAPIV3Schema: |
| 41 | + description: OvercommitClass is the Schema for the overcommitclasses API |
| 42 | + properties: |
| 43 | + apiVersion: |
| 44 | + description: |- |
| 45 | + APIVersion defines the versioned schema of this representation of an object. |
| 46 | + Servers should convert recognized schemas to the latest internal value, and |
| 47 | + may reject unrecognized values. |
| 48 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 49 | + type: string |
| 50 | + kind: |
| 51 | + description: |- |
| 52 | + Kind is a string value representing the REST resource this object represents. |
| 53 | + Servers may infer this from the endpoint the client submits requests to. |
| 54 | + Cannot be updated. |
| 55 | + In CamelCase. |
| 56 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 57 | + type: string |
| 58 | + metadata: |
| 59 | + type: object |
| 60 | + spec: |
| 61 | + description: OvercommitClassSpec defines the desired state of OvercommitClass |
| 62 | + properties: |
| 63 | + annotations: |
| 64 | + additionalProperties: |
| 65 | + type: string |
| 66 | + type: object |
| 67 | + cpuOvercommit: |
| 68 | + maximum: 1 |
| 69 | + minimum: 0.0001 |
| 70 | + type: number |
| 71 | + excludedNamespaces: |
| 72 | + type: string |
| 73 | + isDefault: |
| 74 | + default: false |
| 75 | + type: boolean |
| 76 | + labels: |
| 77 | + additionalProperties: |
| 78 | + type: string |
| 79 | + type: object |
| 80 | + memoryOvercommit: |
| 81 | + maximum: 1 |
| 82 | + minimum: 0.0001 |
| 83 | + type: number |
| 84 | + required: |
| 85 | + - cpuOvercommit |
| 86 | + - excludedNamespaces |
| 87 | + - memoryOvercommit |
| 88 | + type: object |
| 89 | + status: |
| 90 | + description: OvercommitClassStatus defines the observed state of OvercommitClass |
| 91 | + properties: |
| 92 | + conditions: |
| 93 | + items: |
| 94 | + description: Condition contains details for one aspect of the current |
| 95 | + state of this API Resource. |
| 96 | + properties: |
| 97 | + lastTransitionTime: |
| 98 | + description: |- |
| 99 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 100 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 101 | + format: date-time |
| 102 | + type: string |
| 103 | + message: |
| 104 | + description: |- |
| 105 | + message is a human readable message indicating details about the transition. |
| 106 | + This may be an empty string. |
| 107 | + maxLength: 32768 |
| 108 | + type: string |
| 109 | + observedGeneration: |
| 110 | + description: |- |
| 111 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 112 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 113 | + with respect to the current state of the instance. |
| 114 | + format: int64 |
| 115 | + minimum: 0 |
| 116 | + type: integer |
| 117 | + reason: |
| 118 | + description: |- |
| 119 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 120 | + Producers of specific condition types may define expected values and meanings for this field, |
| 121 | + and whether the values are considered a guaranteed API. |
| 122 | + The value should be a CamelCase string. |
| 123 | + This field may not be empty. |
| 124 | + maxLength: 1024 |
| 125 | + minLength: 1 |
| 126 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 127 | + type: string |
| 128 | + status: |
| 129 | + description: status of the condition, one of True, False, Unknown. |
| 130 | + enum: |
| 131 | + - "True" |
| 132 | + - "False" |
| 133 | + - Unknown |
| 134 | + type: string |
| 135 | + type: |
| 136 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 137 | + maxLength: 316 |
| 138 | + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ |
| 139 | + type: string |
| 140 | + required: |
| 141 | + - lastTransitionTime |
| 142 | + - message |
| 143 | + - reason |
| 144 | + - status |
| 145 | + - type |
| 146 | + type: object |
| 147 | + type: array |
| 148 | + resources: |
| 149 | + description: |- |
| 150 | + INSERT ADDITIONAL STATUS FIELD - define observed state of cluster |
| 151 | + Important: Run "make" to regenerate code after modifying this file |
| 152 | + items: |
| 153 | + properties: |
| 154 | + name: |
| 155 | + type: string |
| 156 | + ready: |
| 157 | + type: boolean |
| 158 | + required: |
| 159 | + - ready |
| 160 | + type: object |
| 161 | + type: array |
| 162 | + type: object |
| 163 | + type: object |
| 164 | + served: true |
| 165 | + storage: true |
| 166 | + subresources: |
| 167 | + status: {} |
0 commit comments