Skip to content

Commit 51a018c

Browse files
committed
add missing SPDX header, update controller gen version in makefile
1 parent 380b0bf commit 51a018c

5 files changed

Lines changed: 10 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
217217

218218
## Tool Versions
219219
KUSTOMIZE_VERSION ?= v5.4.3
220-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
220+
CONTROLLER_TOOLS_VERSION ?= v0.17.2
221221
ENVTEST_VERSION ?= release-0.19
222222
GOLANGCI_LINT_VERSION ?= v1.59.1
223223

config/crd/bases/overcommit.inditex.dev_overcommitclasses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.1
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
name: overcommitclasses.overcommit.inditex.dev
88
spec:
99
group: overcommit.inditex.dev

config/crd/bases/overcommit.inditex.dev_overcommits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.1
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
name: overcommits.overcommit.inditex.dev
88
spec:
99
group: overcommit.inditex.dev

config/webhook/manifests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ webhooks:
1313
path: /mutate--v1-pod
1414
failurePolicy: Ignore
1515
name: mutating-pod-v1.overcommit.inditex.dev
16+
reinvocationPolicy: IfNeeded
1617
rules:
1718
- apiGroups:
1819
- ""
@@ -23,6 +24,7 @@ webhooks:
2324
- UPDATE
2425
resources:
2526
- pods
27+
- pods/resize
2628
sideEffects: None
2729
---
2830
apiVersion: admissionregistration.k8s.io/v1

pkg/overcommit/make_overcommit.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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+
16
package overcommit
27

38
import (

0 commit comments

Comments
 (0)