en/stable/http-template/ #12902
Replies: 2 comments 2 replies
-
what is mean by saying "In order to use the Argo Agent, you will need to ensure that you have added the appropriate workflow RBAC to add an agent role with to Argo Workflows" ? |
Beta Was this translation helpful? Give feedback.
-
I wrote an article about Argo Workflows: How To Setup And Test The HTTP Template⚙️ RBAC (Role Based Access Control) Configuration
apiVersion: v1
kind: Secret
metadata:
name: argo.service-account-token
annotations:
kubernetes.io/service-account.name: argo
type: kubernetes.io/service-account-token This creates a Kubernetes Secret named
Create a apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: patch-workflowtasksets
namespace: argo
rules:
- apiGroups:
- argoproj.io
resources:
- workflowtasksets/status
verbs:
- get
- list
- watch
- patch This
Lastly, bind the apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argo-patch-workflowtasksets
namespace: argo
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: patch-workflowtasksets
subjects:
- kind: ServiceAccount
name: argo
namespace: argo This Resources:
|
Beta Was this translation helpful? Give feedback.
-
en/stable/http-template/
https://argo-workflows.readthedocs.io/en/stable/http-template/
Beta Was this translation helpful? Give feedback.
All reactions