mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 09:24:24 -05:00
15 lines
454 B
YAML
15 lines
454 B
YAML
|
{{- if and (or .Values.hubble.enabled .Values.hubble.ui.standalone.enabled) .Values.hubble.ui.enabled .Values.serviceAccounts.ui.create }}
|
||
|
kind: ClusterRoleBinding
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: hubble-ui
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: hubble-ui
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ .Values.serviceAccounts.ui.name | quote }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
{{- end }}
|