Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bootstrap/core/tools/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bases:
- argocd
- dispatcher
- babylon
- tower
resources:
- lodestar-engagements-project.yaml
- lodestar-tools-project.yaml
Expand Down
38 changes: 38 additions & 0 deletions bootstrap/core/tools/tower/ansible-tower-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ansible-tower
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
- apiGroups:
- argoproj.io
- anarchy.gpte.redhat.com
- gpte.redhat.com
- poolboy.gpte.redhat.com
resources:
- '*'
verbs:
- '*'
- nonResourceURLs:
- '*'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ansible-tower
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ansible-tower
subjects:
- kind: ServiceAccount
name: awx
namespace: lodestar-tower
4 changes: 4 additions & 0 deletions bootstrap/core/tools/tower/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ansible-tower-role.yaml