d10b3a900bbad6aca1bbe46bf7c48c3640a5c337
12062024.md
... | ... | @@ -11,4 +11,35 @@ |
11 | 11 | --control-plane-availability-policy SingleReplica \ |
12 | 12 | --release-image=quay.io/openshift-release-dev/ocp-release:4.14.0-x86_64 \ |
13 | 13 | --render |
14 | +``` |
|
15 | + |
|
16 | + |
|
17 | +``` |
|
18 | +apiVersion: rbac.authorization.k8s.io/v1 |
|
19 | +kind: ClusterRoleBinding |
|
20 | +metadata: |
|
21 | + name: gitops-cluster |
|
22 | +roleRef: |
|
23 | + apiGroup: rbac.authorization.k8s.io |
|
24 | + kind: ClusterRole |
|
25 | + name: cluster-admin |
|
26 | +subjects: |
|
27 | +- kind: ServiceAccount |
|
28 | + name: openshift-gitops-argocd-application-controller |
|
29 | + namespace: openshift-gitops |
|
30 | +``` |
|
31 | + |
|
32 | +``` |
|
33 | +apiVersion: rbac.authorization.k8s.io/v1 |
|
34 | +kind: ClusterRoleBinding |
|
35 | +metadata: |
|
36 | + name: gitops-policy |
|
37 | +roleRef: |
|
38 | + apiGroup: rbac.authorization.k8s.io |
|
39 | + kind: ClusterRole |
|
40 | + name: open-cluster-management:cluster-manager-admin |
|
41 | +subjects: |
|
42 | +- kind: ServiceAccount |
|
43 | + name: openshift-gitops-argocd-application-controller |
|
44 | + namespace: openshift-gitops |
|
14 | 45 | ``` |
... | ... | \ No newline at end of file |