1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: bump tools and add kubernetes v1.30 to conformance (#10300)

* chore: bump tools and add kubernetes v1.30 to conformance

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore: codegen and version fixes

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
This commit is contained in:
Vishal Choudhary 2024-05-24 13:07:49 +05:30 committed by GitHub
parent db4dd01fe5
commit 386f969f45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 92 additions and 90 deletions

View file

@ -5,7 +5,7 @@ description: Create kind cluster, deploy kyverno, and wait pods are ready.
inputs:
version:
description: kubernetes version
default: v1.29.1
default: v1.30.0
free-disk-space:
description: free disk space
default: 'false'

View file

@ -85,14 +85,14 @@ jobs:
values:
- standard
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- ^autogen$
- ^background-only$
@ -181,7 +181,7 @@ jobs:
- generate-validating-admission-policy
k8s-version:
- name: v1.27
version: v1.27.10
version: v1.27.13
tests:
- generate-validating-admission-policy
needs: prepare-images
@ -250,9 +250,11 @@ jobs:
- generate-validating-admission-policy
k8s-version:
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- generate-validating-admission-policy
- webhook-configurations
@ -321,10 +323,8 @@ jobs:
- standard
- validating-admission-policy-reports
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
tests:
- validating-admission-policy-reports
needs: prepare-images
@ -393,9 +393,11 @@ jobs:
- validating-admission-policy-reports
k8s-version:
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- validating-admission-policy-reports
needs: prepare-images
@ -463,14 +465,14 @@ jobs:
- standard
- force-failure-policy-ignore
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- force-failure-policy-ignore
- rbac
@ -539,14 +541,14 @@ jobs:
- standard
- ttl
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- ttl
needs: prepare-images
@ -614,14 +616,14 @@ jobs:
- standard
- custom-sigstore
k8s-version:
- name: v1.26
version: v1.26.x
- name: v1.27
version: v1.27.x
- name: v1.28
version: v1.28.x
- name: v1.29
version: v1.29.x
- name: v1.30
version: v1.30.x
tests:
- custom-sigstore
needs: prepare-images
@ -643,7 +645,7 @@ jobs:
uses: kyverno/action-install-chainsaw@748066cc1580718e7924c9b689a8d366bde05100 # v0.2.0
# create cluster
- name: Create kind cluster and setup Sigstore Scaffolding
uses: sigstore/scaffolding/actions/setup@a20ae166ad6fe8f7165f4b3ee218acf72d9c45e8
uses: sigstore/scaffolding/actions/setup@c59aa57be4062453b4efcdeac05f1b737bdc5cba
with:
version: main
k8s-version: ${{ matrix.k8s-version.version }}
@ -708,14 +710,14 @@ jobs:
values:
- default
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- rbac
needs: prepare-images
@ -780,14 +782,14 @@ jobs:
values:
- standard
k8s-version:
- name: v1.26
version: v1.26.13
- name: v1.27
version: v1.27.10
version: v1.27.13
- name: v1.28
version: v1.28.6
version: v1.28.9
- name: v1.29
version: v1.29.1
version: v1.29.4
- name: v1.30
version: v1.30.0
tests:
- ^argo$
- ^aws$

View file

@ -50,8 +50,8 @@ jobs:
fail-fast: false
matrix:
k8s-version:
- name: v1.29
version: v1.29.1
- name: v1.30
version: v1.30.0
kyverno-config:
- name: default
values:

View file

@ -7,7 +7,7 @@
GIT_SHA := $(shell git rev-parse HEAD)
REGISTRY ?= ghcr.io
REPO ?= kyverno
KIND_IMAGE ?= kindest/node:v1.29.1
KIND_IMAGE ?= kindest/node:v1.30.0
KIND_NAME ?= kind
KIND_CONFIG ?= default
GOOS ?= $(shell go env GOOS)
@ -34,9 +34,9 @@ USE_CONFIG ?= standard
TOOLS_DIR ?= $(PWD)/.tools
KIND ?= $(TOOLS_DIR)/kind
KIND_VERSION ?= v0.21.0
KIND_VERSION ?= v0.23.0
CONTROLLER_GEN ?= $(TOOLS_DIR)/controller-gen
CONTROLLER_GEN_VERSION ?= v0.14.0
CONTROLLER_GEN_VERSION ?= v0.15.0
CLIENT_GEN ?= $(TOOLS_DIR)/client-gen
LISTER_GEN ?= $(TOOLS_DIR)/lister-gen
INFORMER_GEN ?= $(TOOLS_DIR)/informer-gen

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: admissionreports.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: backgroundscanreports.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: cleanuppolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusteradmissionreports.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterbackgroundscanreports.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clustercleanuppolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: globalcontextentries.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policies.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyexceptions.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: updaterequests.kyverno.io
spec:
group: kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: ephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io

View file

@ -9,7 +9,7 @@ metadata:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyexceptions.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: admissionreports.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: backgroundscanreports.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: cleanuppolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusteradmissionreports.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterbackgroundscanreports.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clustercleanuppolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: globalcontextentries.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policies.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyexceptions.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: updaterequests.kyverno.io
spec:
group: kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: ephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io

View file

@ -216,7 +216,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: admissionreports.kyverno.io
spec:
group: kyverno.io
@ -887,7 +887,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: backgroundscanreports.kyverno.io
spec:
group: kyverno.io
@ -1476,7 +1476,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: cleanuppolicies.kyverno.io
spec:
group: kyverno.io
@ -5211,7 +5211,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusteradmissionreports.kyverno.io
spec:
group: kyverno.io
@ -5884,7 +5884,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterbackgroundscanreports.kyverno.io
spec:
group: kyverno.io
@ -6473,7 +6473,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clustercleanuppolicies.kyverno.io
spec:
group: kyverno.io
@ -10208,7 +10208,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicies.kyverno.io
spec:
group: kyverno.io
@ -27094,7 +27094,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: globalcontextentries.kyverno.io
spec:
group: kyverno.io
@ -27348,7 +27348,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policies.kyverno.io
spec:
group: kyverno.io
@ -44237,7 +44237,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyexceptions.kyverno.io
spec:
group: kyverno.io
@ -46148,7 +46148,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: updaterequests.kyverno.io
spec:
group: kyverno.io
@ -46932,7 +46932,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io
@ -47291,7 +47291,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: ephemeralreports.reports.kyverno.io
spec:
group: reports.kyverno.io
@ -47650,7 +47650,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clusterpolicyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io
@ -48036,7 +48036,7 @@ metadata:
app.kubernetes.io/version: v0.0.0
helm.sh/chart: crds-v0.0.0
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: policyreports.wgpolicyk8s.io
spec:
group: wgpolicyk8s.io