-
Bug
-
Resolution: Done
-
Undefined
-
ACM 2.11.0
-
None
-
2
-
False
-
None
-
False
-
-
-
GRC Sprint 2024-15
-
Moderate
-
None
Description of problem:
When in hosted mode, the target kubeconfig comes from a secret mounted in the pod. If this kubeconfig changes, we need to restart the config-policy-controller so that controller-runtime picks up the new configuration.
See how this is done in governance-policy-framework:
https://github.com/open-cluster-management-io/governance-policy-framework-addon/blob/2cbd7fe7bf3fd80cb3e764e904948ea4dbee4370/main.go#L628-L645
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- ...
Actual results:
Expected results:
Additional info:
This should be backported to 2.11.1.