Fix SA in the roles chart
This commit is contained in:
parent
03413ea1cb
commit
38a0f2781d
@ -1,5 +1,5 @@
|
|||||||
{{- if .Values.sa }}
|
{{- if .Values.sa }}
|
||||||
{{- range $sa := .Values.roles }}
|
{{- range $sa := .Values.sa }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
|
@ -13,11 +13,12 @@ bindings:
|
|||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: pipelines
|
namespace: pipelines
|
||||||
namespace: woodpecker-ci
|
name: woodpecker-ci
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
sa:
|
sa:
|
||||||
- name: woodpecker-ci
|
- name: woodpecker-ci
|
||||||
|
namespace: pipelines
|
||||||
|
Loading…
Reference in New Issue
Block a user