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

Update role reference with reason.mode #49583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/pages/includes/role-spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,14 @@ spec:
kubernetes_resources:
- kind: "namespace"

# 'reason' defines settings for the reason for the access provided by the user.
reason:
# 'mode' can be either "required" or "optional". Empty string is treated as
# "optional". If a role has the request reason mode set to "required", then reason
# is required for all Access Requests requesting roles or resources allowed by
# this role. It applies only to users who have this role assigned.
mode: "optional"

# thresholds specifies minimum amount of approvers and deniers,
# defaults to 1 for both (enterprise-only)
thresholds:
Expand Down
4 changes: 2 additions & 2 deletions rfd/0186-optionally-require-reason-for-access-request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
authors: Pawel Kopiczko ([email protected])
state: draft
state: implemented
---

# RFD 186 - Optionally require reason for access request
# RFD 186 - Optionally require reason for Access Request


## Required Approvers
Expand Down
Loading