Skip to content

Commit

Permalink
Merge pull request #504 from sangkenlee/policy-guardrule-fix
Browse files Browse the repository at this point in the history
policy guard rule audit bugfix
  • Loading branch information
ktkfree authored May 23, 2024
2 parents e0c8cd8 + 552526b commit 0906ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/policy-template/tksguard-rego.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const tks_guard_rego_rulename = ` # Do not delete following line, added by TKS
const tks_guard_rego_rulelogic = `
# Do not delete or edit following rule, managed by TKS
___not_tks_triggered_request___ {
not input.review.userInfo
not input.review.userInfo.username
} {
tks_users := {"kubernetes-admin","system:serviceaccount:kube-system:argocd-manager"}
tks_groups := {"system:masters"}
Expand Down

0 comments on commit 0906ad3

Please sign in to comment.