<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Kubernetes_RBAC_Role_Examples</id>
	<title>Kubernetes RBAC Role Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Kubernetes_RBAC_Role_Examples"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Kubernetes_RBAC_Role_Examples&amp;action=history"/>
	<updated>2026-06-02T07:06:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Kubernetes_RBAC_Role_Examples&amp;diff=2181&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;https://stackoverflow.com/questions/48118125/kubernetes-rbac-role-verbs-to-exec-to-pod  To allow a subject to read both pods and pod logs, and be able to exec into the pod, yo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Kubernetes_RBAC_Role_Examples&amp;diff=2181&amp;oldid=prev"/>
		<updated>2021-08-26T23:20:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;https://stackoverflow.com/questions/48118125/kubernetes-rbac-role-verbs-to-exec-to-pod  To allow a subject to read both pods and pod logs, and be able to exec into the pod, yo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://stackoverflow.com/questions/48118125/kubernetes-rbac-role-verbs-to-exec-to-pod&lt;br /&gt;
&lt;br /&gt;
To allow a subject to read both pods and pod logs, and be able to exec into the pod, you would write:&lt;br /&gt;
```&lt;br /&gt;
kind: Role&lt;br /&gt;
apiVersion: rbac.authorization.k8s.io/v1&lt;br /&gt;
metadata:&lt;br /&gt;
  namespace: default&lt;br /&gt;
  name: pod-and-pod-logs-reader&lt;br /&gt;
rules:&lt;br /&gt;
- apiGroups: [&amp;quot;&amp;quot;]&lt;br /&gt;
  resources: [&amp;quot;pods&amp;quot;, &amp;quot;pods/log&amp;quot;]&lt;br /&gt;
  verbs: [&amp;quot;get&amp;quot;, &amp;quot;list&amp;quot;]&lt;br /&gt;
- apiGroups: [&amp;quot;&amp;quot;]&lt;br /&gt;
  resources: [&amp;quot;pods/exec&amp;quot;]&lt;br /&gt;
  verbs: [&amp;quot;create&amp;quot;]&lt;br /&gt;
```&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>