Skip to content

Commit

Permalink
security/v1: add required SCC
Browse files Browse the repository at this point in the history
  • Loading branch information
s-urbaniak committed Jul 3, 2023
1 parent 9e8fb2c commit c1b364b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions security/v1/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ const (
SupplementalGroupsAnnotation = "openshift.io/sa.scc.supplemental-groups"
MCSAnnotation = "openshift.io/sa.scc.mcs"
ValidatedSCCAnnotation = "openshift.io/scc"
// This annotation pins required SCCs for core OpenShift workloads to prevent preemption of custom SCCs.
// It is being used in the SCC admission plugin.
RequiredSCCAnnotation = "openshift.io/required-scc"
)

0 comments on commit c1b364b

Please sign in to comment.