diff --git a/command/connect/envoy/bootstrap_config.go b/command/connect/envoy/bootstrap_config.go index f2ea33b7f2..d101d19e4e 100644 --- a/command/connect/envoy/bootstrap_config.go +++ b/command/connect/envoy/bootstrap_config.go @@ -653,9 +653,7 @@ func (c *BootstrapConfig) generateListenerConfig(args *BootstrapTplArgs, bindAdd } ], "validationContextSdsSecretConfig": { - "trustedCa": { - "name": "prometheus_validation_context" - } + "name": "prometheus_validation_context" } } } diff --git a/command/connect/envoy/bootstrap_config_test.go b/command/connect/envoy/bootstrap_config_test.go index bb471566c3..1e928db173 100644 --- a/command/connect/envoy/bootstrap_config_test.go +++ b/command/connect/envoy/bootstrap_config_test.go @@ -342,9 +342,7 @@ const ( } ], "validationContextSdsSecretConfig": { - "trustedCa": { - "name": "prometheus_validation_context" - } + "name": "prometheus_validation_context" } } } diff --git a/command/connect/envoy/testdata/prometheus-metrics-tls-ca-file.golden b/command/connect/envoy/testdata/prometheus-metrics-tls-ca-file.golden index 64d0951b2f..2f508b1e23 100644 --- a/command/connect/envoy/testdata/prometheus-metrics-tls-ca-file.golden +++ b/command/connect/envoy/testdata/prometheus-metrics-tls-ca-file.golden @@ -151,9 +151,7 @@ } ], "validationContextSdsSecretConfig": { - "trustedCa": { - "name": "prometheus_validation_context" - } + "name": "prometheus_validation_context" } } } diff --git a/command/connect/envoy/testdata/prometheus-metrics-tls-ca-path.golden b/command/connect/envoy/testdata/prometheus-metrics-tls-ca-path.golden index 34cbbda972..e677e91820 100644 --- a/command/connect/envoy/testdata/prometheus-metrics-tls-ca-path.golden +++ b/command/connect/envoy/testdata/prometheus-metrics-tls-ca-path.golden @@ -151,9 +151,7 @@ } ], "validationContextSdsSecretConfig": { - "trustedCa": { - "name": "prometheus_validation_context" - } + "name": "prometheus_validation_context" } } }