Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group perms for MH and UQ #160

Merged
merged 1 commit into from
Apr 3, 2024
Merged

group perms for MH and UQ #160

merged 1 commit into from
Apr 3, 2024

Conversation

dvirgilad
Copy link
Contributor

@dvirgilad dvirgilad commented Apr 1, 2024

This PR introduces a configmap containing a list of comma delimeted "permitted groups" in config/manager/kustomization.yaml.

Users in these groups will automatically be able to create an updateQuota or migrationHierarchy, Even if they are not admins in the relevant namespaces. Also added test cases for this behavior.

@dana-prow-ci dana-prow-ci bot requested a review from mzeevi April 1, 2024 12:55
@dvirgilad dvirgilad changed the title group perms for MH and UQ This PR introduces a configmap containing a list of comma delimeted "… group perms for MH and UQ Apr 1, 2024
@dvirgilad dvirgilad force-pushed the feature/group_perms branch 3 times, most recently from 636e86c to 0c746aa Compare April 2, 2024 07:47
Copy link
Contributor

@mzeevi mzeevi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes needed, also fix the commit message, something went wrong there

Makefile Outdated Show resolved Hide resolved
config/manager/manager.yaml Show resolved Hide resolved
test/testutils/composeutils.go Outdated Show resolved Hide resolved
test/testutils/composeutils.go Outdated Show resolved Hide resolved
test/testutils/testutils.go Outdated Show resolved Hide resolved
internal/common/validators.go Outdated Show resolved Hide resolved
@dvirgilad dvirgilad force-pushed the feature/group_perms branch 4 times, most recently from afe06b6 to c2420a6 Compare April 3, 2024 09:19
This PR introduces a configmap containing a list of comma delimeted "permitted groups".
Users in these groups will automatically be able to create an updateQuota or migrationHierarchy, even if they are not admins in the relevant namespaces.
Also added test cases for this behavior.
Bumped versions for k8s.api, gomega, and docker/login-command
@dvirgilad dvirgilad force-pushed the feature/group_perms branch from c2420a6 to f58effb Compare April 3, 2024 14:05
Copy link
Contributor

@mzeevi mzeevi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

Copy link
Contributor

dana-prow-ci bot commented Apr 3, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dvirgilad, mzeevi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dana-prow-ci dana-prow-ci bot added the approved label Apr 3, 2024
@dana-prow-ci dana-prow-ci bot merged commit ae53db3 into main Apr 3, 2024
2 of 3 checks passed
@dvirgilad dvirgilad deleted the feature/group_perms branch April 4, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants