New intention precedence for external intentions.
Support external intentions by making source type part of the precedence decision. The goal is that an external-uri intention, e.g. spiffe://trust.domain/path, is ranked higher than an external-trust-domain intention, e.g. spiffe://trust.domain, because it is a more exact match. The maximum precedence value is increased, however the relative ordering of Consul intentions has not changed.
Showing
- agent/consul/state/txn_test.go 7 additions, 2 deletionsagent/consul/state/txn_test.go
- agent/structs/intention.go 33 additions, 6 deletionsagent/structs/intention.go
- agent/structs/intention_test.go 59 additions, 37 deletionsagent/structs/intention_test.go
- api/connect_intention_test.go 1 addition, 1 deletionapi/connect_intention_test.go
- website/source/docs/connect/intentions.html.md 7 additions, 9 deletionswebsite/source/docs/connect/intentions.html.md
Please register or sign in to comment