From a0eb65e0bc9c0fa5dae336bc56f4c2c01fed3ffd Mon Sep 17 00:00:00 2001 From: Andrew Ballantyne <8126518+andrewballantyne@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:51:48 -0500 Subject: [PATCH] Limit the ability to change the group configs (#3585) --- .../common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml b/manifests/common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml index 75d3a354e2..306b403bc1 100644 --- a/manifests/common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml +++ b/manifests/common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml @@ -91,6 +91,9 @@ spec: type: string allowedGroups: type: string + x-kubernetes-validations: + - rule: self == oldSelf + message: Can no longer modify group configurations here, see the Auth resource instead notebookSizes: type: array items: