From 80a3110f8b164da11301d1a72869208984a9f296 Mon Sep 17 00:00:00 2001 From: Shaza Aldawamneh Date: Mon, 16 Dec 2024 11:00:51 +0000 Subject: [PATCH] scc fix --- pkg/operator/sync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/operator/sync.go b/pkg/operator/sync.go index 8af283a19e..d7720a24a2 100644 --- a/pkg/operator/sync.go +++ b/pkg/operator/sync.go @@ -445,7 +445,8 @@ func newDeployment(config *OperatorConfig, features map[string]bool) *appsv1.Dep Name: "machine-api-controllers", Namespace: config.TargetNamespace, Annotations: map[string]string{ - maoOwnedAnnotation: "", + maoOwnedAnnotation: "", + "openshift.io/required-scc": "restricted-v2", }, Labels: map[string]string{ "api": "clusterapi",