-
Type:How to QuestionRole templates are not picking up user Role 1kind: role
version: v3
metadata:
name: test-role
spec:
allow:
logins: ['ubuntu', 'ec2-user']
node_labels:
'group': ['{{internal.group}}'] User 1kind: user
version: v2
metadata:
name: jane doe
spec:
roles: ['test-role']
traits:
group: ['a-group'] |
Beta Was this translation helpful? Give feedback.
Answered by
ahelwer
Nov 10, 2021
Replies: 1 comment
-
Through experimenting I suspect there are only certain traits that are supported by the
I can't find any reference documentation on this, though. See also this question. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nikhil-31
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Through experimenting I suspect there are only certain traits that are supported by the
{{internal.traitname}}
template functionality. They include:kubernetes_groups
kubernetes_users
db_users
db_names
logins
I can't find any reference documentation on this, though. See also this question.