Skip to content

BackendTLSPolicy - Changing a ConfigMap content should be reconciled by the controller #4338

@rikatz

Description

@rikatz

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.

Metadata

Metadata

Assignees

Labels

area/conformance-testIssues or PRs related to Conformance tests.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions