From 1454d5a7a66930f3694be4ecff1a5570d714f36c Mon Sep 17 00:00:00 2001 From: Zuhair AlSader Date: Thu, 3 Nov 2022 15:47:58 +0000 Subject: [PATCH] security: change `pspEnable` default value to `false` Disable PodSecurityPolicy in Ceph Operator helm charts by default. Signed-off-by: Zuhair AlSader --- Documentation/Helm-Charts/operator-chart.md | 2 +- PendingReleaseNotes.md | 2 ++ deploy/charts/rook-ceph-cluster/values.yaml | 2 +- deploy/charts/rook-ceph/values.yaml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/Helm-Charts/operator-chart.md b/Documentation/Helm-Charts/operator-chart.md index d0092d352..5d3c0ddcd 100644 --- a/Documentation/Helm-Charts/operator-chart.md +++ b/Documentation/Helm-Charts/operator-chart.md @@ -48,7 +48,7 @@ The following tables lists the configurable parameters of the rook-operator char | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `crds.enabled` | If true, the helm chart will create the Rook CRDs. Do NOT change to `false` in a running cluster or CRs will be deleted! | `true` | | `rbacEnable` | If true, create & use RBAC resources | `true` | -| `pspEnable` | If true, create & use PSP resources | `true` | +| `pspEnable` | If true, create & use PSP resources | `false` | | `resources` | Pod resource requests & limits | `{}` | | `annotations` | Pod annotations | `{}` | | `logLevel` | Global log level | `INFO` | diff --git a/PendingReleaseNotes.md b/PendingReleaseNotes.md index 8d3683349..a581caf91 100644 --- a/PendingReleaseNotes.md +++ b/PendingReleaseNotes.md @@ -4,3 +4,5 @@ ## Features + +- Change `pspEnable` default value to `false` in helm charts diff --git a/deploy/charts/rook-ceph-cluster/values.yaml b/deploy/charts/rook-ceph-cluster/values.yaml index d7366666e..9bd7d6e78 100644 --- a/deploy/charts/rook-ceph-cluster/values.yaml +++ b/deploy/charts/rook-ceph-cluster/values.yaml @@ -53,7 +53,7 @@ monitoring: annotations: {} # If true, create & use PSP resources. Set this to the same value as the rook-ceph chart. -pspEnable: true +pspEnable: false # imagePullSecrets option allow to pull docker images from private docker registry. Option will be passed to all service accounts. # imagePullSecrets: diff --git a/deploy/charts/rook-ceph/values.yaml b/deploy/charts/rook-ceph/values.yaml index b8f7d8a0b..1dfe4ff11 100644 --- a/deploy/charts/rook-ceph/values.yaml +++ b/deploy/charts/rook-ceph/values.yaml @@ -49,7 +49,7 @@ rbacEnable: true ## If true, create & use PSP resources ## -pspEnable: true +pspEnable: false # Set the priority class for the rook operator deployment if desired # priorityClassName: class