Skip to content

Commit

Permalink
Merge pull request #2715 from spiffxp/add-groups-subdir-approvers
Browse files Browse the repository at this point in the history
groups: delegate approval to subdirectories
  • Loading branch information
k8s-ci-robot committed Sep 13, 2021
2 parents ecb04da + a2c8773 commit 320ecf8
Show file tree
Hide file tree
Showing 26 changed files with 61 additions and 15 deletions.
11 changes: 2 additions & 9 deletions groups/OWNERS
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
# See the OWNERS docs at https://go.k8s.io/owners

# approval is restricted to members of k8s-infra-group-admins@
# root approval is restricted to members of k8s-infra-group-admins@
# because they have the ability to manually run, troubleshoot, and undo
# changes
#
# approval will not be delegated to deeper directories until sufficient
# checks are in place (via testing or policy enforcement) to ensure that
# someone can't escalate privileges or create arbitrary groups
#
# ref: https://github.com/kubernetes/k8s.io/issues/460#issuecomment-849958721

options:
no_parent_owners: true

approvers:
- ameukam
- cblecker
- dims
- thockin
- spiffxp

reviewers:
- nikhita

labels:
Expand Down
2 changes: 2 additions & 0 deletions groups/committee-code-of-conduct/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- committee-code-of-conduct
reviewers:
- committee-code-of-conduct

Expand Down
2 changes: 2 additions & 0 deletions groups/committee-product-security/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- committee-product-security
reviewers:
- committee-product-security

Expand Down
2 changes: 2 additions & 0 deletions groups/committee-steering/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- committee-steering
reviewers:
- committee-steering

Expand Down
2 changes: 2 additions & 0 deletions groups/groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ func TestHardcodedGroupsForParanoia(t *testing.T) {
"thockin@google.com",
},
"k8s-infra-group-admins@kubernetes.io": []string{
"ameukam@gmail.com",
"cblecker@gmail.com",
"davanum@gmail.com",
"nikhitaraghunath@gmail.com",
"spiffxp@google.com",
"thockin@google.com",
},
Expand Down
6 changes: 4 additions & 2 deletions groups/sig-api-machinery/OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-api-machinery-leads
reviewers:
- sig-storage-leads
- sig-api-machinery-leads

labels:
- sig/storage
- sig/api-machinery
2 changes: 2 additions & 0 deletions groups/sig-apps/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-apps-leads
reviewers:
- sig-apps-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-architecture/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-architecture-leads
reviewers:
- sig-architecture-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-auth/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-auth-leads
reviewers:
- sig-auth-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-autoscaling/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-autoscaling-leads
reviewers:
- sig-autoscaling-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-cli/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-cli-leads
reviewers:
- sig-cli-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-cloud-provider/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-cloud-provider-leads
reviewers:
- sig-cloud-provider-leads

Expand Down
6 changes: 4 additions & 2 deletions groups/sig-cluster-lifecycle/OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-cluster-lifecycle-leads
reviewers:
- sig-cluster-lifecycle-leads
- sig-cluster-lifecycle-leads

labels:
- sig/cluster-lifecycle
- sig/cluster-lifecycle
2 changes: 2 additions & 0 deletions groups/sig-contributor-experience/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-contributor-experience-leads
reviewers:
- alisondy
- cblecker
Expand Down
2 changes: 2 additions & 0 deletions groups/sig-docs/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-docs-leads
reviewers:
- sig-docs-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-instrumentation/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-instrumentation-leads
reviewers:
- sig-instrumentation-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-network/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-network-leads
reviewers:
- sig-network-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-node/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-node-leads
reviewers:
- sig-node-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-release/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-release-leads
reviewers:
- sig-release-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-scalability/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-scalability-leads
reviewers:
- sig-scalability-leads

Expand Down
6 changes: 4 additions & 2 deletions groups/sig-scheduling/OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-scheduling-leads
reviewers:
- sig-storage-leads
- sig-scheduling-leads

labels:
- sig/storage
- sig/scheduling
2 changes: 2 additions & 0 deletions groups/sig-security/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-security-leads
reviewers:
- sig-security-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-storage/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-storage-leads
reviewers:
- sig-storage-leads

Expand Down
2 changes: 2 additions & 0 deletions groups/sig-testing/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- sig-testing-leads
reviewers:
- sig-testing-leads

Expand Down
5 changes: 5 additions & 0 deletions groups/wg-k8s-infra/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- wg-k8s-infra-leads
reviewers:
- wg-k8s-infra-leads

labels:
- wg/k8s-infra
2 changes: 2 additions & 0 deletions groups/wg-k8s-infra/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ groups:
settings:
ReconcileMembers: "true"
members:
- ameukam@gmail.com
- cblecker@gmail.com
- davanum@gmail.com
- spiffxp@google.com
- nikhitaraghunath@gmail.com
- thockin@google.com

0 comments on commit 320ecf8

Please sign in to comment.