diff --git a/install/0000_80_machine-config-operator_06_clusteroperator.yaml b/install/0000_80_machine-config-operator_06_clusteroperator.yaml index 661f0eeb74..0e93d09bfe 100644 --- a/install/0000_80_machine-config-operator_06_clusteroperator.yaml +++ b/install/0000_80_machine-config-operator_06_clusteroperator.yaml @@ -22,4 +22,6 @@ status: - group: machineconfiguration.openshift.io resource: kubeletconfigs - group: machineconfiguration.openshift.io - resource: containerruntimeconfigs \ No newline at end of file + resource: containerruntimeconfigs + - group: "" + resource: nodes diff --git a/pkg/operator/status.go b/pkg/operator/status.go index 6b47cd072c..e6642fc899 100644 --- a/pkg/operator/status.go +++ b/pkg/operator/status.go @@ -70,6 +70,8 @@ func (optr *Operator) syncRelatedObjects() error { {Group: "machineconfiguration.openshift.io", Resource: "kubeletconfigs"}, {Group: "machineconfiguration.openshift.io", Resource: "containerruntimeconfigs"}, {Group: "machineconfiguration.openshift.io", Resource: "machineconfigs"}, + // gathered because the machineconfigs created container bootstrap credentials and node configuration that gets reflected via the API and is needed for debugging + {Group: "", Resource: "nodes"}, } if !equality.Semantic.DeepEqual(coCopy.Status.RelatedObjects, co.Status.RelatedObjects) {