consul-k8s icon indicating copy to clipboard operation
consul-k8s copied to clipboard

[NET-10247] Add Partition and Namespace blocks to external registration acl role/policy

Open jm96441n opened this issue 8 months ago • 0 comments

NOTE: Dependent on https://github.com/hashicorp/consul/pull/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

jm96441n avatar Jun 28 '24 19:06 jm96441n