generated from aliyun-computenest/quickstart-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
initialize.yaml
54 lines (54 loc) · 1.25 KB
/
initialize.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apiVersion: v1
data:
client-id: NDA0MzAwOTczMzMwMTM2NTA4Mw==
client-secret: Und6RUQ3cG5ac3l0U2FaM0k0QlVCSktKYjlsbnJQUEVYZzlFaFhMeW9yQnQ0T2xmalY2bHNWdEM1THN2WTV5cw==
kind: Secret
metadata:
name: argo-sso
type: Opaque
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: argo-admin-role
rules:
- apiGroups:
- argoproj.io
resources:
- workflows
- workflows/finalizers
- workfloweventbindings
- workfloweventbindings/finalizers
- workflowtemplates
- workflowtemplates/finalizers
- cronworkflows
- cronworkflows/finalizers
- clusterworkflowtemplates
- clusterworkflowtemplates/finalizers
- workflowtasksets
- workflowtasksets/finalizers
- workflowtaskresults
- workflowtaskresults/finalizers
- workflowartifactgctasks
- workflowartifactgctasks/finalizers
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: argo-admin-role-binding
subjects:
- kind: ServiceAccount
name: default
roleRef:
kind: ClusterRole
name: argo-admin-role
apiGroup: rbac.authorization.k8s.io