Skip to content

Commit 31cbe0b

Browse files
committed
update rbac for pipelines and argo
1 parent b0b3824 commit 31cbe0b

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

values-hypershift.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,30 @@ rbac:
9898
- qe
9999
- Docs
100100

101+
# Tekton / OpenShift Pipelines (charts/all/pipelines-rbac): ClusterRole plus optional
102+
# ClusterRoleBinding for OpenShift Users and Groups (for example names produced by
103+
# GitHub Group Sync). Grants full lifecycle on Pipelines CRDs in every namespace.
104+
pipelinesRbac:
105+
create: true
106+
clusterRoleName: openshift-pipelines-tekton-admin
107+
clusterRoleBindingName: openshift-pipelines-tekton-admin
108+
includePodLogAccess: true
109+
users: []
110+
groups:
111+
- Engineering
112+
113+
# Argo CD / OpenShift GitOps Application CRs (charts/all/argocd-application-rbac).
114+
# Grants Kubernetes API access to applications, applicationsets, and appprojects.
115+
# For the Argo CD web UI, also configure policy.csv in argocd-rbac-cm for the same groups.
116+
argocdApplicationRbac:
117+
create: true
118+
clusterRoleName: openshift-gitops-application-manager
119+
clusterRoleBindingName: openshift-gitops-application-manager
120+
includeArgoCdOperatorCr: false
121+
users: []
122+
groups:
123+
- Engineering
124+
101125
letsencrypt:
102126
# region can be the empty string unless AccessKeyID and SecretAccessKeyID are not set (which we ensure is never true)
103127
# Otherwise, set to the region of the cluster, eg. us-east-1

values-prod.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,24 @@ clusterGroup:
130130
annotations:
131131
argocd.argoproj.io/sync-wave: "18"
132132

133+
pipeline-tekton-rbac:
134+
disabled: false
135+
name: pipeline-tekton-rbac
136+
namespace: openshift-pipelines
137+
argoProject: pipelines
138+
path: charts/all/pipelines-rbac
139+
annotations:
140+
argocd.argoproj.io/sync-wave: "19"
141+
142+
argocd-application-rbac:
143+
disabled: false
144+
name: argocd-application-rbac
145+
namespace: openshift-gitops
146+
argoProject: hub
147+
path: charts/all/argocd-application-rbac
148+
annotations:
149+
argocd.argoproj.io/sync-wave: "17"
150+
133151
# Uncomment when ACM is installed — pipelines chart detects this key and enables Klusterlet add-on task.
134152
# acm:
135153
# name: acm

0 commit comments

Comments
 (0)