ConnectCALeafRequest
should factor in DNSSAN
and IPSAN
into its cache key
#7514
Labels
good first issue
A well-defined bug or improvement with sufficient context which should be approachable for new contr
theme/connect
Anything related to Consul Connect, Service Mesh, Side Car Proxies
type/bug
Feature does not function as expected
Milestone
consul/agent/cache-types/connect_ca_leaf.go
Lines 640 to 672 in e5d6273
When computing the cache key for this type it should also be including the
IPSAN
andDNSSAN
fields in the hash.Currently there is no way for user provided input to set these fields and they are only used for auto-encrypt. Therefore this shouldn't be affecting anyone today. If we were to allow for setting these via an API or configuration then it could be problematic.
Regardless the "correct" behavior for this cache type should be to include those two slices in the hash structure call.
The text was updated successfully, but these errors were encountered: