From 76b23572448e8b6bd2ae83a95b904075c9097e17 Mon Sep 17 00:00:00 2001 From: Marc Sluiter Date: Wed, 31 Jan 2024 15:51:35 +0100 Subject: [PATCH] Extend metal3remediation aggregation role - Node Healthcheck controller is going to watch templates, in order to update its status in case a template is deleted - NHC is also watching the remediation CRs, in order to update its status when the CR is finally deleted after the metal3 controller removed the finalizer - NHC is updating CRs with an annotation (unused by metal3 controller, but we'd like to prevent error messages in NHC controller) Signed-off-by: Marc Sluiter --- ...e-api-operator_10_metal3remediation_aggregation_role.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/0000_30_machine-api-operator_10_metal3remediation_aggregation_role.yaml b/manifests/0000_30_machine-api-operator_10_metal3remediation_aggregation_role.yaml index 35feb4831..3cc9653a4 100644 --- a/manifests/0000_30_machine-api-operator_10_metal3remediation_aggregation_role.yaml +++ b/manifests/0000_30_machine-api-operator_10_metal3remediation_aggregation_role.yaml @@ -16,6 +16,8 @@ rules: - metal3remediationtemplates verbs: - get + - list + - watch - apiGroups: - infrastructure.cluster.x-k8s.io resources: @@ -23,6 +25,9 @@ rules: verbs: - get - list + - watch - create + - update + - patch - delete