Skip to content

Commit

Permalink
Kyverno 1.10.6 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Jan 4, 2024
1 parent 37f3124 commit 93a87f4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
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.8
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 @@ -101,6 +101,7 @@ jobs:
- name: Debug failure
if: failure()
run: |
kubectl logs -n kyverno -l app.kubernetes.io/component=admission-controller
kubectl describe node -A
kubectl describe pod -A
kubectl describe service -A
Expand All @@ -109,4 +110,3 @@ 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
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.8
- 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.6"
maintainers:
- name: treydock
dependencies:
- name: kyverno-policies
version: 2.7.5
version: 3.0.7
repository: https://kyverno.github.io/kyverno/

0 comments on commit 93a87f4

Please sign in to comment.