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