Skip to content

Commit dc28f62

Browse files
committed
chore: autogenerate files
1 parent 4f5a176 commit dc28f62

24 files changed

Lines changed: 1437 additions & 5 deletions

bundle/manifests/k8s-overcommit.clusterserviceversion.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ metadata:
3030
}
3131
]
3232
capabilities: Basic Install
33-
createdAt: "2025-07-02T12:39:39Z"
33+
createdAt: "2025-07-03T11:39:06Z"
3434
operators.operatorframework.io/builder: operator-sdk-v1.40.0
3535
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
36-
name: k8s-overcommit.v1.0.1
36+
name: k8s-overcommit.v1.0.2
3737
namespace: placeholder
3838
spec:
3939
apiservicedefinitions: {}
@@ -221,7 +221,7 @@ spec:
221221
valueFrom:
222222
fieldRef:
223223
fieldPath: metadata.namespace
224-
image: ghcr.io/inditextech/k8s-overcommit-operator:1.0.1
224+
image: ghcr.io/inditextech/k8s-overcommit-operator:1.0.2
225225
livenessProbe:
226226
httpGet:
227227
path: /healthz
@@ -313,4 +313,4 @@ spec:
313313
minKubeVersion: 1.22.0
314314
provider:
315315
name: inditexTech
316-
version: 1.0.1
316+
version: 1.0.2

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: ghcr.io/inditextech/k8s-overcommit-operator
8-
newTag: 1.0.1
8+
newTag: 1.0.2

deploy/chart/1.0.2/Chart.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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: v2
8+
name: k8s-overcommit-operator
9+
description: K8s overcommit operator Helm chart for deploying the overcommit operator
10+
type: application
11+
version: "1.0.0"
12+
appVersion: "1.0.2"
13+
maintainers:
14+
- name: Enrique Andrés Villar
15+
email: enriqueavi@inditex.dev
16+
- name: Javier Terceiro López
17+
email: javiertl@inditex.dev
18+
keywords:
19+
- kubernetes
20+
- openshift
21+
- operator
22+
- overcommit
23+
- resource-management
24+
- cluster-optimization
25+
- scheduling
26+
- performance
27+
- inditex
28+
sources:
29+
- https://github.com/InditexTech/k8s-overcommit-operator
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
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: overcommits.overcommit.inditex.dev
13+
spec:
14+
group: overcommit.inditex.dev
15+
names:
16+
kind: Overcommit
17+
listKind: OvercommitList
18+
plural: overcommits
19+
singular: overcommit
20+
scope: Cluster
21+
versions:
22+
- additionalPrinterColumns:
23+
- description: Label to apply to the pods to make overcommit
24+
jsonPath: .spec.overcommitLabel
25+
name: Target Label
26+
type: string
27+
name: v1alphav1
28+
schema:
29+
openAPIV3Schema:
30+
description: Overcommit is the Schema for the overcommits API
31+
properties:
32+
apiVersion:
33+
description: |-
34+
APIVersion defines the versioned schema of this representation of an object.
35+
Servers should convert recognized schemas to the latest internal value, and
36+
may reject unrecognized values.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
38+
type: string
39+
kind:
40+
description: |-
41+
Kind is a string value representing the REST resource this object represents.
42+
Servers may infer this from the endpoint the client submits requests to.
43+
Cannot be updated.
44+
In CamelCase.
45+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
46+
type: string
47+
metadata:
48+
type: object
49+
spec:
50+
description: OvercommitSpec defines the desired state of Overcommit
51+
properties:
52+
annotations:
53+
additionalProperties:
54+
type: string
55+
type: object
56+
labels:
57+
additionalProperties:
58+
type: string
59+
type: object
60+
overcommitLabel:
61+
minLength: 1
62+
type: string
63+
required:
64+
- overcommitLabel
65+
type: object
66+
status:
67+
description: OvercommitStatus defines the observed state of Overcommit
68+
properties:
69+
conditions:
70+
items:
71+
description: Condition contains details for one aspect of the current
72+
state of this API Resource.
73+
properties:
74+
lastTransitionTime:
75+
description: |-
76+
lastTransitionTime is the last time the condition transitioned from one status to another.
77+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
78+
format: date-time
79+
type: string
80+
message:
81+
description: |-
82+
message is a human readable message indicating details about the transition.
83+
This may be an empty string.
84+
maxLength: 32768
85+
type: string
86+
observedGeneration:
87+
description: |-
88+
observedGeneration represents the .metadata.generation that the condition was set based upon.
89+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
90+
with respect to the current state of the instance.
91+
format: int64
92+
minimum: 0
93+
type: integer
94+
reason:
95+
description: |-
96+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
97+
Producers of specific condition types may define expected values and meanings for this field,
98+
and whether the values are considered a guaranteed API.
99+
The value should be a CamelCase string.
100+
This field may not be empty.
101+
maxLength: 1024
102+
minLength: 1
103+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
104+
type: string
105+
status:
106+
description: status of the condition, one of True, False, Unknown.
107+
enum:
108+
- "True"
109+
- "False"
110+
- Unknown
111+
type: string
112+
type:
113+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
114+
maxLength: 316
115+
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])$
116+
type: string
117+
required:
118+
- lastTransitionTime
119+
- message
120+
- reason
121+
- status
122+
- type
123+
type: object
124+
type: array
125+
resources:
126+
items:
127+
properties:
128+
name:
129+
type: string
130+
ready:
131+
type: boolean
132+
required:
133+
- ready
134+
type: object
135+
type: array
136+
type: object
137+
type: object
138+
x-kubernetes-validations:
139+
- message: overcommit is a singleton, .metadata.name must be 'cluster'
140+
rule: self.metadata.name == 'cluster'
141+
served: true
142+
storage: true
143+
subresources:
144+
status: {}
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
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: {}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
{{ if $.Values.createNamespace }}
7+
---
8+
apiVersion: v1
9+
kind: Namespace
10+
metadata:
11+
name: {{ $.Values.namespace }}
12+
{{ end }}

0 commit comments

Comments
 (0)