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

NET-10871 Remove unnecessary resource permissions in connect-inject ClusterRole #4307

Merged
merged 6 commits into from
Sep 6, 2024

Conversation

nathancoleman
Copy link
Member

@nathancoleman nathancoleman commented Sep 4, 2024

Changes proposed in this PR

Remove unnecessary permissions for Namespace and Node resources in the connect-inject controller's ClusterRole

How I've tested this PR

  • 🤖 tests pass
  • Manual smoke test running a Consul installation with service mesh and API gateways enabled

How I expect reviewers to test this PR

  • Validate against your mental model of Consul
  • (See above)

Checklist

@nathancoleman nathancoleman force-pushed the connect-inject-clusterrole branch from 54ba1fb to 5912342 Compare September 4, 2024 21:53
@nathancoleman nathancoleman marked this pull request as ready for review September 4, 2024 22:03
@sarahalsmiller
Copy link
Member

Looks good when CI passes 👍

@nathancoleman nathancoleman merged commit 77967bd into main Sep 6, 2024
50 checks passed
@nathancoleman nathancoleman deleted the connect-inject-clusterrole branch September 6, 2024 17:41
nathancoleman added a commit that referenced this pull request Sep 6, 2024
…lusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test
nathancoleman added a commit that referenced this pull request Sep 6, 2024
…lusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test
nathancoleman added a commit that referenced this pull request Sep 6, 2024
…lusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test
nathancoleman added a commit that referenced this pull request Sep 6, 2024
…lusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test
nathancoleman added a commit that referenced this pull request Sep 9, 2024
…ect-inject ClusterRole into release/1.3.x (#4309)

NET-10871 Remove unnecessary resource permissions in connect-inject ClusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
nathancoleman added a commit that referenced this pull request Sep 9, 2024
…ect-inject ClusterRole into release/1.4.x (#4310)

NET-10871 Remove unnecessary resource permissions in connect-inject ClusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
nathancoleman added a commit that referenced this pull request Sep 9, 2024
…ect-inject ClusterRole into release/1.5.x (#4311)

NET-10871 Remove unnecessary resource permissions in connect-inject ClusterRole (#4307)

* Remove unnecessary resource permissions in connect-inject ClusterRole

* Add changelog entry

* Update unit test coverage

* Update broken unit test

* Update broken unit test

* Update broken unit test

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x This release branch is no longer active. backport/1.4.x backport/1.5.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why can the connect-injector ClusterRole delete/create/update namespace and node resources?
3 participants