Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ This offers us a way to keep class users added to course namespaces via ColdFron
oc project <namespace>
```

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:
```
Expand Down
1 change: 1 addition & 0 deletions cronjobs/group-sync/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down