Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

499 policy validation userinfo #540

Merged
merged 3 commits into from
Dec 10, 2019
Merged

Conversation

realshuting
Copy link
Member

Fix #499.

Add policy validation checks for UserInfo definition:

  • roles: has to be namespace:rolename
  • subjects:
    if kind = ServiceAccount, the namespace field should not be empty

@realshuting realshuting merged commit 5c089de into v1.1.0 Dec 10, 2019
@realshuting realshuting deleted the 499_policy_validation_userinfo branch December 10, 2019 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants