mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 10:37:19 +08:00
docs: Fix formatting issues in role-spec (#67368)
This commit is contained in:
@@ -270,13 +270,13 @@ spec:
|
||||
- match:
|
||||
object_kind: table
|
||||
permissions:
|
||||
- SELECT
|
||||
- INSERT
|
||||
- UPDATE
|
||||
- DELETE
|
||||
- TRUNCATE
|
||||
- REFERENCES
|
||||
- TRIGGER
|
||||
- SELECT
|
||||
- INSERT
|
||||
- UPDATE
|
||||
- DELETE
|
||||
- TRUNCATE
|
||||
- REFERENCES
|
||||
- TRIGGER
|
||||
|
||||
# app_labels: a user with this role will be allowed to connect to
|
||||
# applications with labels matching below.
|
||||
@@ -451,7 +451,7 @@ spec:
|
||||
- name: Auditor oversight
|
||||
# Specifies an RBAC predicate that is used to define
|
||||
# which users count against the required user count of the policy.
|
||||
filter: 'contains(user.spec.roles, 'auditor')'
|
||||
filter: 'contains(user.spec.roles, "auditor")'
|
||||
# The different session kinds this policy applies to.
|
||||
kinds: ['k8s', 'ssh']
|
||||
# A list of session participant modes that a participant must have
|
||||
@@ -470,7 +470,7 @@ spec:
|
||||
# identifier in logs and for organisation/categorisation.
|
||||
- name: Auditor oversight
|
||||
# Allows one to join sessions created by other users with these roles
|
||||
roles : ['prod-access']
|
||||
roles: ['prod-access']
|
||||
# The different session kinds this policy applies to.
|
||||
kinds: ['k8s', 'ssh']
|
||||
# The list of session participant modes the role may join the session as.
|
||||
|
||||
Reference in New Issue
Block a user