Skip to content

Commit 350d4cb

Browse files
chore(deps): bump vulnerable dependencies to latest secure versions (#5)
* chore(deps): bump vulnerable dependencies to latest secure versions * chore: update Operator SDK version to v1.40.0 and regenerate bundle * fix: correct typos in documentation
1 parent ef59284 commit 350d4cb

35 files changed

+1521
-27
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# To re-generate a bundle for another specific version without changing the standard setup, you can:
99
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
1010
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
11-
VERSION ?= 1.0.0
11+
VERSION ?= 1.0.1
1212
# Image URL to use all building/pushing image targets
1313
IMG ?= ghcr.io/inditextech/k8s-overcommit-operator:$(VERSION)
1414
# IMAGE_TAG_BASE defines the docker.io namespace and part of the image name for remote images.
@@ -56,7 +56,7 @@ endif
5656

5757
# Set the Operator SDK version to use. By default, what is installed on the system is used.
5858
# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
59-
OPERATOR_SDK_VERSION ?= v1.39.2
59+
OPERATOR_SDK_VERSION ?= v1.40.0
6060

6161
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
6262
ENVTEST_K8S_VERSION = 1.31.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ kubectl apply -f https://github.com/InditexTech/k8s-overcommit-operator/deploy/o
107107

108108
#### 3️⃣ Create the Subscription (Alternative)
109109

110-
You can create yot own or use the one in the route *https://github.com/InditexTech/k8s-overcommit-operator/deploy/subsciption.yaml*
110+
You can create your own or use the one in the route *https://github.com/InditexTech/k8s-overcommit-operator/deploy/subscription.yaml*
111111

112112
```yaml
113113
apiVersion: operators.coreos.com/v1alpha1
@@ -129,7 +129,7 @@ spec:
129129
### 🎯 Overcommit Resource
130130
131131
> [!IMPORTANT]
132-
> **Its a singleton CRD**: only can exists one, and it has to be called **cluster**
132+
> **It's a singleton CRD**: only can exist one, and it has to be called **cluster**
133133
134134
First, deploy the main `Overcommit` resource named **"cluster"**:
135135

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=k8s-overcommit
88
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.2
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.40.0
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4
1212

bundle/manifests/k8s-overcommit.clusterserviceversion.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ metadata:
3030
}
3131
]
3232
capabilities: Basic Install
33-
createdAt: "2025-06-30T14:24:32Z"
34-
operators.operatorframework.io/builder: operator-sdk-v1.39.2
33+
createdAt: "2025-07-01T08:25:39Z"
34+
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.0
36+
name: k8s-overcommit.v1.0.1
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.0
224+
image: ghcr.io/inditextech/k8s-overcommit-operator:1.0.1
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.0
316+
version: 1.0.1

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: k8s-overcommit
77
operators.operatorframework.io.bundle.channels.v1: alpha
8-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.2
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.40.0
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4
1111

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: k8s-overcommit-operator
99
description: K8s overcommit operator Helm chart for deploying the overcommit operator
1010
type: application
1111
version: "1.0.0"
12-
appVersion: "1.0.0"
12+
appVersion: "1.0.1"
1313
maintainers:
1414
- name: Enrique Andrés Villar
1515
email: enriqueavi@inditex.dev

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ deployment:
2525
# -- Image name
2626
image: inditextech/k8s-overcommit-operator
2727
# -- Image tag
28-
tag: 1.0.0
28+
tag: 1.0.1
2929
resources:
3030
requests:
3131
# -- CPU request for the container

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.0
8+
newTag: 1.0.1

deploy/chart/1.0.1/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.1"
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

deploy/chart/1.0.1/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
3+
SPDX-FileContributor: enriqueavi@inditex.com
4+
5+
SPDX-License-Identifier: Apache-2.0
6+
-->
7+
8+
# k8s-overcommit
9+
10+
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
11+
12+
Overcommitx Helm chart for deploying the Overcommitx Webhook
13+
14+
## Maintainers
15+
16+
| Name | Email | Url |
17+
| ---- | ------ | --- |
18+
| Enrique Andrés Villar | <enriqueavi@inditex.dev> | |
19+
20+
## Source Code
21+
22+
* <https://github.com/InditexTech/k8s-overcommit-operator>
23+
24+
## Values
25+
26+
| Key | Type | Default | Description |
27+
|-----|------|---------|-------------|
28+
| clusterRole.name | string | `"k8s-overcommit-clusterrole"` | Name of the cluster role |
29+
| createnamespace | bool | `false` | Whether to create the namespace if it does not exist |
30+
| deployment.image | object | `{"image":"operator","registry":"quay.io","repository":"k8s-overcommit","tag":"1.0.0"}` | Image configuration for the deployment |
31+
| deployment.image.image | string | `"operator"` | Image name |
32+
| deployment.image.registry | string | `"quay.io"` | Docker registry for the image |
33+
| deployment.image.repository | string | `"k8s-overcommit"` | Repository for the image |
34+
| deployment.image.tag | string | `"1.0.0"` | Image tag |
35+
| deployment.name | string | `"k8s-overcommit"` | Name of the deployment |
36+
| deployment.replicas | int | `3` | Number of replicas for the deployment |
37+
| deployment.resources.limits.cpu | string | `"500m"` | CPU limit for the container |
38+
| deployment.resources.limits.memory | string | `"128Mi"` | Memory limit for the container |
39+
| deployment.resources.requests.cpu | string | `"250m"` | CPU request for the container |
40+
| deployment.resources.requests.memory | string | `"64Mi"` | Memory request for the container |
41+
| hpa.cpuAverageUtilization | int | `70` | |
42+
| hpa.enabled | bool | `false` | |
43+
| hpa.maxReplicas | int | `10` | |
44+
| hpa.memoryAverageUtilization | int | `75` | |
45+
| hpa.minReplicas | int | `1` | |
46+
| namespace | string | `"infra-k8s-overcommit"` | The namespace to deploy the resources |
47+
| secret.name | string | `"tls-secret"` | Name of the secret |
48+
| service.name | string | `"k8s-overcommit-webhook-service"` | Name of the service |
49+
| service.port | int | `443` | Port for the service |
50+
| serviceAccount.name | string | `"k8s-overcommit-sa"` | Name of the service account |
51+
| webhook.certsPath | string | `"/etc/webhook/config"` | Path to the certificates |
52+
| webhook.cpuGlobal | float | `0.2` | Default cpu overcommit |
53+
| webhook.cpuLabel | string | `"inditex.dev/overcommit-cpu"` | Labels for make the cpu overcommit |
54+
| webhook.memoryGlobal | float | `0.8` | Default memory overcommit |
55+
| webhook.memoryLabel | string | `"inditex.dev/overcommit-memory"` | Labels for make the memory overcommit |
56+
| webhook.metricsPort | int | `8080` | Port for the metrics |
57+
| webhook.overcommitClassLabel | string | `"inditex.dev/overcommit-class"` | Label of the overcommit class |
58+
| webhook.port | int | `9443` | Port for the webhook |
59+
| webhookConfig.excludedNamespaces | string | `"(^(infra-|openshift|k8s-overcommit|kube).*)"` | Namespaces to exclude from the webhook |
60+
61+
----------------------------------------------
62+
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

0 commit comments

Comments
 (0)