Hey Guys!
We have a service inside our Mesh that communicates with an external server using MUTUAL authentication. For that, we have created:
- A ServiceEntry for that service listening on Port 443
- A DestinationRule with tls mode MUTUAL with provided clientCertificate and privateKey referencing a mounted certificate into Sidecar (via annotation).
We a new POD starts, istio-proxy never gets Ready. It prints the following message:
warning envoy config [external/envoy/source/common/config/grpc_subscription_impl.cc:101] gRPC config for type.googleapis.com/envoy.api.v2.Cluster rejected: Error adding/updating cluster(s) outbound|443|mutual|api.gateway.com: Proto constraint validation failed (UpstreamTlsContextValidationError.CommonTlsContext: ["embedded message failed validation"] caused by CommonTlsContextValidationError.CombinedValidationContext: ["embedded message failed validation"] | caused by CombinedCertificateValidationContextValidationError.ValidationContextSdsSecretConfig: ["value is required"]):
common_tls_context {
tls_certificate_sds_secret_configs {
name: "file-cert:/etc/apigateway-certificates/client.crt~/etc/apigateway-certificates/client.key"
sds_config {
api_config_source {
api_type: GRPC
grpc_services {
envoy_grpc {
cluster_name: "sds-grpc"
}
}
}
}
}
And, right after that, a lot of:
Envoy proxy is NOT ready: config not received from Pilot (is Pilot running?): cds updates: 0 successful, 5 rejected; lds updates: 10 successful, 0 rejected
We are using the following istio 1.6.2.
Can anyone help with this?