Skip to content

Commit

Permalink
remove inactive members from prod group (knative#1272)
Browse files Browse the repository at this point in the history
* remove inactive members from prod group

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* fix test

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* actuall fix test

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* one more place

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* indent

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

---------

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
  • Loading branch information
psschwei committed Feb 14, 2023
1 parent 297de07 commit f2ec9d2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 deletions.
1 change: 0 additions & 1 deletion groups/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ options:
approvers:
- dprotaso
- upodroid
- chizhg
- kvmware

reviewers:
Expand Down
5 changes: 2 additions & 3 deletions groups/groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,7 @@ func TestNoDuplicateMembers(t *testing.T) {
func TestHardcodedGroupsForParanoia(t *testing.T) {
groups := map[string][]string{
"kn-infra-gcp-org-admins@knative.dev": {
"chizhg@google.com",
"cy@borg.dev",
"chizhg@knative.team",
"cy@knative.team",
"hh@cncf.io",
"hh@knative.team",
Expand Down Expand Up @@ -315,7 +313,8 @@ func TestHardcodedGroupsForParanoia(t *testing.T) {
// access to the group not only via gmail but also via web (you can see the list
// and history of threads and also use web interface to operate the group)
// More info:
// https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#allowWebPosting
//
// https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#allowWebPosting
func TestGroupsWhichShouldSupportHistory(t *testing.T) {
groups := map[string]struct{}{
"wg-leads@knative.team": {},
Expand Down
30 changes: 12 additions & 18 deletions groups/wg-productivity/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ groups:
settings:
ReconcileMembers: "true"
members:
- chizhg@google.com
- chizhg@knative.team
- cy@knative.team
- racker-maha-66b7d200@gcp.rackspace.com # Mahamed Ali
- cy@borg.dev # Mahamed Ali
Expand All @@ -39,7 +37,7 @@ groups:
WhoCanViewMembership: "ALL_MEMBERS_CAN_VIEW" # needed for RBAC
members:
- k8s-infra-rbac-prow@knative.dev
- k8s-infra-rbac-perf-tests@knative.dev
# - k8s-infra-rbac-perf-tests@knative.dev

# GKE RBAC groups:
# - grant access to the `namespace-user` role for a single namespace on a cluster
Expand All @@ -54,18 +52,17 @@ groups:
ReconcileMembers: "true"
WhoCanViewMembership: "ALL_MEMBERS_CAN_VIEW" # required
members:
- chizhg@google.com
- kmahapatra@vmware.com
- cy@borg.dev # Mahamed Ali

- email-id: k8s-infra-rbac-perf-tests@knative.dev
name: k8s-infra-rbac-perf-tests
description: |-
Grants access to the shared community cluster perf-tests namespace
settings:
ReconcileMembers: "true"
WhoCanViewMembership: "ALL_MEMBERS_CAN_VIEW" # required
members:
- nziada@vmware.com
# - email-id: k8s-infra-rbac-perf-tests@knative.dev
# name: k8s-infra-rbac-perf-tests
# description: |-
# Grants access to the shared community cluster perf-tests namespace
# settings:
# ReconcileMembers: "true"
# WhoCanViewMembership: "ALL_MEMBERS_CAN_VIEW" # required
# members:

###
### Productivity WG related mailing lists
Expand All @@ -82,11 +79,8 @@ groups:
- evana@vmware.com
- evankanderson@knative.team
- dprotaso@gmail.com
- mattmoor@knative.team
- mattomata@gmail.com
- n3wscott@knative.team
- paul@paulschweigert.com
- paulschw@us.ibm.com
managers:
- chizhg@google.com
- kmahapatra@vmware.com
- kmahapatra@vmware.com
- cy@borg.dev # Mahamed Ali

0 comments on commit f2ec9d2

Please sign in to comment.