Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kyverno 1.10.6 upgrade #223

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/config/kyverno-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ imagePullSecrets:
registry: docker-registry.osc.edu
username: robot$webservices-read
password: IMAGE-PULL-PASSWORD
replicaCount: 1
extraArgs:
- --loggingFormat=text
- --exceptionNamespace=kyverno
- --webhookTimeout=20
admissionController:
replicaCount: 1
container:
extraArgs:
loggingFormat: text
exceptionNamespace: kyverno
webhookTimeout: 20
config:
# TODO: Remove once fixed: https://github.com/kyverno/kyverno/issues/3190
resourceFilters:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:
- name: Install Kyverno
run: |
helm repo add kyverno https://kyverno.github.io/kyverno/
helm install kyverno kyverno/kyverno -n kyverno --create-namespace -f .github/config/kyverno-values.yaml --version 2.7.5
helm install kyverno kyverno/kyverno -n kyverno --create-namespace -f .github/config/kyverno-values.yaml --version 3.0.9
helm dependency build charts/kyverno-policies
helm install kyverno-policies charts/kyverno-policies -n kyverno -f .github/config/kyverno-policies-values.yaml
kubectl apply -f .github/config/k8-ldap-configmaps.yaml
timeout 60 /bin/bash -c 'until kubectl get pods -n kyverno -o jsonpath="{.items[0].status.phase}" | grep Running ; do echo "Waiting for Kyverno" ; sleep 10 ; done'
timeout 60 /bin/bash -c 'until kubectl get pods -n kyverno -l app.kubernetes.io/component=admission-controller -o jsonpath="{.items[0].status.phase}" | grep Running ; do echo "Waiting for Kyverno" ; sleep 10 ; done'
sleep 60
- name: Add namespaces
run: kubectl apply -f .github/config/namespaces.yaml
Expand All @@ -109,4 +109,4 @@ jobs:
kubectl describe job -A
kubectl logs job.batch/$(kubectl get jobs -n nominatim -o jsonpath="{.items[0].metadata.name}") -n nominatim
fi
kubectl logs $(kubectl get pods -n kyverno -o jsonpath="{.items[0].metadata.name}") -n kyverno
kubectl logs -n kyverno -l app.kubernetes.io/component=admission-controller
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Install Kyverno
run: |
helm repo add kyverno https://kyverno.github.io/kyverno/
helm install kyverno kyverno/kyverno -n kyverno --create-namespace --version 2.6.5
helm install kyverno kyverno/kyverno -n kyverno --create-namespace --version 3.0.9
- name: Add namespaces
run: kubectl create namespace ${{ matrix.chart }}
- name: Run chart-testing (install)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
KYVERNO_GIT = https://github.com/kyverno/kyverno.git
KYVERNO_VERSION := "v1.9.5"
KYVERNO_VERSION := "v1.10.7"
KYVERNO_DIR := $(ROOT_DIR)/kyverno-cli
#KYVENOR_CLI := $(KYVERNO_DIR)/cmd/cli/kubectl-kyverno/kubectl-kyverno
KYVENOR_CLI := $(KYVERNO_DIR)/kyverno
Expand Down
6 changes: 3 additions & 3 deletions charts/kyverno-policies/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apiVersion: v2
name: kyverno-policies
description: OSC Kyverno policies deployment
type: application
version: 0.22.0
appVersion: "v1.9.5"
version: 0.23.0
appVersion: "v1.10.7"
maintainers:
- name: treydock
dependencies:
- name: kyverno-policies
version: 2.7.5
version: 3.0.7
repository: https://kyverno.github.io/kyverno/