chore: Configure argo workflows permissions
This commit is contained in:
@ -10,6 +10,23 @@
|
||||
# - argo-workflows
|
||||
- firstboot
|
||||
|
||||
- name: Create ClusterRoleBinding for default serviceaccount
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
definition: |
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: argo-workflows-firstboot-clusteradmin
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: firstboot
|
||||
|
||||
- name: Install argo-workflows chart
|
||||
kubernetes.core.helm:
|
||||
name: argo-workflows
|
||||
|
Reference in New Issue
Block a user