kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
191 stars 33 forks source link

Add integration tests #192

Closed ereslibre closed 2 years ago

ereslibre commented 2 years ago
ereslibre commented 2 years ago

(T) The policy transitions eventually to active if the policy server exists

These tests will be an end to end test, given that integration tests don't have the controller-manager.

ereslibre commented 2 years ago

Modifying the bound policy server ConfigMap alters the status of the policy (observed state of the world)

We have agreed that modifying the ConfigMap is not a big deal, given that we will be overriding it over and over with our own controller, so no need to watch for manual changes on the ConfigMap during regular operation.

ereslibre commented 2 years ago

Implemented by https://github.com/kubewarden/kubewarden-controller/pull/175