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-10247] Add Partition and Namespace blocks to external registration acl role/policy #4153

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

jm96441n
Copy link
Member

NOTE: Dependent on hashicorp/consul#21382

Changes proposed in this PR

  • Add Partition and Namespace blocks to external registration acl role/policy
  • Make address field optional in the CRD like it is for catalog registraton
  • update license headers

How I've tested this PR

  • run the start.sh script in the following gist (ensure you have a local build of this branch and of the changes in the linked consul PR in consul-enterprise and have a valid consul license in an env variable named CONSUL_LICENSE
  • shell into the bender service and run apk add curl
  • run curl zoidberg.virtual.consul and see the request go through
  • check the consul connect injector logs to see there are no errors
  • view the zoidberg-write-policy to see the namespace block applied

How I expect reviewers to test this PR

Checklist

…tition, make service address optional like it is for catalog registration
@jm96441n jm96441n requested review from a team, missylbytes and wangxinyi7 and removed request for a team June 28, 2024 19:52
Copy link
Member

@nathancoleman nathancoleman left a comment

Choose a reason for hiding this comment

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

Just a couple of changes we discussed on a call; otherwise LGTM

.changelog/4153.txt Outdated Show resolved Hide resolved
control-plane/catalog/registration/cache.go Outdated Show resolved Hide resolved
control-plane/catalog/registration/cache.go Show resolved Hide resolved
control-plane/catalog/registration/cache.go Outdated Show resolved Hide resolved
@jm96441n jm96441n enabled auto-merge (squash) July 10, 2024 20:02
@jm96441n jm96441n merged commit da5d670 into main Jul 11, 2024
50 checks passed
@jm96441n jm96441n deleted the NET-10247-add-parition-and-namespace-to-policy branch July 11, 2024 13:28
jm96441n added a commit that referenced this pull request Jul 16, 2024
…on acl role/policy (#4153)

* update external registration acl role/policy to include namespace/partition, make service address optional like it is for catalog registration

* add changelog

* fix typo, update comments for why we don't include ent meta for query
options
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.

None yet

2 participants