mirror of https://github.com/knative/community.git
|
|
||
|---|---|---|
| .. | ||
| committee-code-of-conduct | ||
| committee-steering | ||
| fake | ||
| wg-productivity | ||
| wg-security | ||
| wg-ux | ||
| Makefile | ||
| OWNERS | ||
| README.md | ||
| client.go | ||
| config.yaml | ||
| go.mod | ||
| go.sum | ||
| groups.yaml | ||
| groups_test.go | ||
| reconcile.go | ||
| reconcile_test.go | ||
| restrictions.yaml | ||
| service.go | ||
| service_test.go | ||
README.md
Automation of Google Groups maintenance for knative.team
Making changes
- Edit your WGs's
groups.yaml, e.g. [wg-security/groups.yaml][/groups/wg-security/groups.yaml] - If adding or removing a group, edit [
restrictions.yaml] to add or remove the group name - Use
make testto ensure the changes meet conventions - Open a pull request
- When the pull request merges, the post-k8sio-groups job will deploy the changes
The project name has a max length of 18 characters.
Manual deploy
- Must be run by someone who is a member of the productivity-infra-gcp-org@knative.team group
- Run
gcloud auth application-default loginto login - Use
make runto dry run the changes - Use
make run -- --confirmif the changes suggested in the previous step looks good
How does this work?
- The groups are managed with the Google Admin SDK Groups API
- Google has a process called Domain Wide Delegation(DWD) that allows a Google Service Account to impersonate a google workspace user. https://developers.google.com/admin-sdk/directory/v1/guides/delegation
- Configuring DWD is one time process as long as the Google Service Account impersonating is not deleted.