What would you like to be added:
On a BackendTLSPolicy, once I change the content of a referenced spec.validation.caCertificateRefs it should be updated and used by the proxy.
This way, a conformance test here would be:
- Create a scenario with a workload/backend with TLS enabled
- Create a ConfigMap containing the CA for this backend, and a BackendTLSPolicy for it
- Make a call - should work
- Update the configmap to an invalid CA
- Make a call - should fail
- Roll back to the valid CA
- Make a call - should work
Why this is needed:
We need to guarantee that implementations reflect the desired state of BackendTLSPolicy and CA ASAP. If the implementation doesn't immediately watch a BackendTLSPolicy CA the call to a service may fail and cause disruptions.