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.

Revisions

  1. colin-mccarthy revised this gist Oct 20, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions pod-manager-role.yaml
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    apiVersion: rbac.authorization.k8s.io/v1
    kind: Role
    metadata:
    name: pod-manager
  2. colin-mccarthy created this gist Oct 19, 2020.
    23 changes: 23 additions & 0 deletions pod-manager-role.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    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