Last active
October 20, 2020 01:26
-
-
Save colin-mccarthy/184db6f1c6a55b7d71bf30458eb57fe6 to your computer and use it in GitHub Desktop.
Create a Role named (pod-manager)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: Role | |
| metadata: | |
| name: pod-manager | |
| namespace: ansible-tower | |
| rules: | |
| - verbs: | |
| - get | |
| - list | |
| - watch | |
| - create | |
| - update | |
| - patch | |
| - delete | |
| apiGroups: | |
| - '' | |
| resources: | |
| - pods | |
| - verbs: | |
| - create | |
| apiGroups: | |
| - '' | |
| resources: | |
| - pods/exec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment