From dceb107325cbb409e723700aadc154f377d98598 Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Wed, 5 Feb 2020 10:06:27 -0500 Subject: [PATCH] Fix disco chain graph validation for namespaces (#7217) Previously this happened to be validating only the chains in the default namespace. Now it will validate all chains in all namespaces when the global proxy-defaults is changed. --- agent/consul/state/config_entry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/consul/state/config_entry.go b/agent/consul/state/config_entry.go index e2cdb8e33c..327514f9f0 100644 --- a/agent/consul/state/config_entry.go +++ b/agent/consul/state/config_entry.go @@ -357,7 +357,7 @@ func (s *Store) validateProposedConfigEntryInServiceGraph( // somehow omit the ones that have a default protocol configured. for _, kind := range serviceGraphKinds { - _, entries, err := s.configEntriesByKindTxn(tx, nil, kind, entMeta) + _, entries, err := s.configEntriesByKindTxn(tx, nil, kind, structs.WildcardEnterpriseMeta()) if err != nil { return err }