consul-k8s
consul-k8s copied to clipboard
[NET-10247] Add Partition and Namespace blocks to external registration acl role/policy
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 namedCONSUL_LICENSE
- shell into the
bender
service and runapk 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 thenamespace
block applied
How I expect reviewers to test this PR
Checklist
- [X] Tests added
- [X] CHANGELOG entry added