helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Testing: add controller webhooks unit test

Open fabriziosestito opened this issue 5 months ago • 0 comments

Is your feature request related to a problem?

We want to test the controller's webhooks certificate bootstrap logic. The test should test:

  • Given a clean state, when the user installs the controller chart, then the certificates are generated and stored in the secrets, and the CA bundle is injected into the webhooks configuration.
  • Given an existing installation, when the user upgrades the controller chart, then the certificates and CA bundles are not changed.

This issue depends on: #507

Solution you'd like

No response

Alternatives you've considered

No response

Anything else?

No response

fabriziosestito avatar Sep 04 '24 13:09 fabriziosestito