Skip to content

Instantly share code, notes, and snippets.

@colin-mccarthy
Last active October 20, 2020 01:26
Show Gist options
  • Select an option

  • Save colin-mccarthy/184db6f1c6a55b7d71bf30458eb57fe6 to your computer and use it in GitHub Desktop.

Select an option

Save colin-mccarthy/184db6f1c6a55b7d71bf30458eb57fe6 to your computer and use it in GitHub Desktop.
Create a Role named (pod-manager)
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