Skip to content

Commit

Permalink
Update role reference with reason.mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiczko committed Dec 3, 2024
1 parent 6af2e0c commit b72ac4b
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit b72ac4b

Please sign in to comment.