From ed978da5d92d1c230e8432774fdd61f705daab2f Mon Sep 17 00:00:00 2001 From: Alex Palesandro Date: Tue, 1 Aug 2023 00:39:27 +0200 Subject: [PATCH] fix: disable PSPs explictly to avoid upgrade failures (#1437) * fix: disable PSPs * fix(gatekeeper): Disable psps by default PSP was removed in k8s 1.25, we should explicitly disable PSPs in our default values. --------- Co-authored-by: Grace Do --- services/gatekeeper/3.12.0/defaults/cm.yaml | 2 ++ services/logging-operator/4.2.3/defaults/cm.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/services/gatekeeper/3.12.0/defaults/cm.yaml b/services/gatekeeper/3.12.0/defaults/cm.yaml index a6fdde315..d4f5e27cc 100644 --- a/services/gatekeeper/3.12.0/defaults/cm.yaml +++ b/services/gatekeeper/3.12.0/defaults/cm.yaml @@ -24,3 +24,5 @@ data: controllerManager: tlsMinVersion: 1.2 resourceQuota: false + psp: + enabled: false diff --git a/services/logging-operator/4.2.3/defaults/cm.yaml b/services/logging-operator/4.2.3/defaults/cm.yaml index deee2a17f..6a679b4d6 100644 --- a/services/logging-operator/4.2.3/defaults/cm.yaml +++ b/services/logging-operator/4.2.3/defaults/cm.yaml @@ -6,6 +6,9 @@ metadata: data: values.yaml: |- --- + rbac: + psp: + enabled: false priorityClassName: "dkp-critical-priority" resources: limits: