How can I have a role that grants access to users based on pod Labels? #52233
Answered
by
webvictim
hosseinderakhshani
asked this question in
Q&A
-
DetailsI have different pods in a namespace that differ based on their labels and names, and since the names of the pods change in each deployment, I want to grant access to users based on the labels of the pods. I also tested the following lines but they didn't work and wouldn't save after the change: kubernetes_resources:
|
Beta Was this translation helpful? Give feedback.
Answered by
webvictim
Feb 18, 2025
Replies: 1 comment 1 reply
-
Teleport does not currently support conditionally granting access at the pod level based on Kubernetes labels. My understanding is that Kubernetes does not support this natively either: kubernetes/kubernetes#44703 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
webvictim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Teleport does not currently support conditionally granting access at the pod level based on Kubernetes labels.
My understanding is that Kubernetes does not support this natively either: kubernetes/kubernetes#44703