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

Support regular expression in RBAC role node_labels matchers #2161

Closed
klizhentas opened this issue Aug 11, 2018 · 2 comments
Closed

Support regular expression in RBAC role node_labels matchers #2161

klizhentas opened this issue Aug 11, 2018 · 2 comments
Assignees
Milestone

Comments

@klizhentas
Copy link
Contributor

** Description

Add support for regular expression in label keys and values

Support following formats: scalar values with regexp:

allow:
  node_labels:
    'env: '^production|staging$'
deny:
  node_labels:
    'env: '^test$'

list values:

allow:
  node_labels:
    'env: ['^production|staging$', 'test']
deny:
  node_labels:
    'env: ['^test$', 'list']
@klizhentas klizhentas added this to the 3.1 "Boston" milestone Sep 28, 2018
@russjones
Copy link
Contributor

Fixed in #2262.

@russjones
Copy link
Contributor

Reopening to make documentation ticket.

@russjones russjones reopened this Oct 30, 2018
kontsevoy added a commit that referenced this issue Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants