From a0962514bc9c520a33209f86c88bf5d47fb271a4 Mon Sep 17 00:00:00 2001 From: Meera Malhotra Date: Mon, 9 Feb 2026 09:56:43 -0500 Subject: [PATCH] clusterrolebinding reminders for mutiple classes running group sync --- README.md | 2 ++ cronjobs/group-sync/clusterrolebinding.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index a2c1875..ac0fe3b 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ This offers us a way to keep class users added to course namespaces via ColdFron oc project ``` +2.5. If running group-sync for multiple classes, ensure you change the name in the clusterrolebinding to make sure there are no conflicts in the rolebinding name. + 3. Update the `GROUP_NAME` and `NAMESPACE` env variables in cronjobs/group-sync/cronjob.yaml and update `namespace` variable in kustomization.yaml 4. From cronjobs/group-sync/ directory run: ``` diff --git a/cronjobs/group-sync/clusterrolebinding.yaml b/cronjobs/group-sync/clusterrolebinding.yaml index b35f2ae..ff8e843 100644 --- a/cronjobs/group-sync/clusterrolebinding.yaml +++ b/cronjobs/group-sync/clusterrolebinding.yaml @@ -1,6 +1,7 @@ kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: + # When running for multiple classes, to avoid crb conflicts, change name name: group-sync subjects: - kind: ServiceAccount