Skip to content

Commit d27262c

Browse files
Merge pull request #1317 from ShazaAldawamneh/SCC_fix
AUTH-482: set required-scc for openshift workloads
2 parents 63a4f18 + 80a3110 commit d27262c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/operator/sync.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ func newDeployment(config *OperatorConfig, features map[string]bool) *appsv1.Dep
445445
Name: "machine-api-controllers",
446446
Namespace: config.TargetNamespace,
447447
Annotations: map[string]string{
448-
maoOwnedAnnotation: "",
448+
maoOwnedAnnotation: "",
449+
"openshift.io/required-scc": "restricted-v2",
449450
},
450451
Labels: map[string]string{
451452
"api": "clusterapi",

0 commit comments

Comments
 (0)