Skip to content

Commit 00397b6

Browse files
authored
fix: allow-list acsService username in validating admission webhook (#1215)
2 parents 797eae5 + 3517e86 commit 00397b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/webhook/managedresource/validatingadmissionpolicy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func mutateValidatingAdmissionPolicy(vap *admv1.ValidatingAdmissionPolicy) {
5757
(
5858
(
5959
request.userInfo.username == "aksService" ||
60+
request.userInfo.username == "acsService" ||
6061
request.userInfo.username == "fleet-member-agent-sa"
6162
)
6263
&&

0 commit comments

Comments
 (0)