Skip to content

Commit be3c498

Browse files
Merge pull request #1106 from DavidHurta/fix-custom-scc-being-applied-to-version-pod
OCPBUGS-31462: Set `openshift.io/required-scc: privileged` annotation in `version` pods
2 parents 0659bfb + 0122b19 commit be3c498

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cvo/updatepayload.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ func (r *payloadRetriever) fetchUpdatePayloadToDir(ctx context.Context, dir stri
227227
Labels: map[string]string{
228228
"k8s-app": "retrieve-openshift-release",
229229
},
230+
Annotations: map[string]string{
231+
"openshift.io/required-scc": "privileged",
232+
},
230233
},
231234
Spec: corev1.PodSpec{
232235
ActiveDeadlineSeconds: deadline,

0 commit comments

Comments
 (0)