2023-11-17 13:50:55 +00:00
|
|
|
{{- if .Values.console.enabled }}
|
2022-05-26 15:10:54 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
2023-08-07 20:20:03 +00:00
|
|
|
name: console-sa-binding
|
2022-05-26 15:10:54 +00:00
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
2023-08-07 20:20:03 +00:00
|
|
|
name: console-sa-role
|
2022-05-26 15:10:54 +00:00
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
2023-08-07 20:20:03 +00:00
|
|
|
name: console-sa
|
2022-05-26 15:10:54 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2023-11-17 13:50:55 +00:00
|
|
|
{{- end }}
|