Skip to content

Commit

Permalink
Excempt build controller SA from PodSecurity admission
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman authored and openshift-cherrypick-robot committed Jun 24, 2022
1 parent bb670aa commit e6ae026
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ func generateConfig(p KubeAPIServerConfigParams, version semver.Version) *kcpv1.
Warn: "restricted",
WarnVersion: "latest",
},
Exemptions: podsecurityadmissionv1beta1.PodSecurityExemptions{
Usernames: []string{
"system:serviceaccount:openshift-infra:build-controller",
},
},
},
},
},
Expand Down

0 comments on commit e6ae026

Please sign in to comment.