mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
15 lines
420 B
YAML
15 lines
420 B
YAML
{{- if and .Values.preflight.enabled .Values.serviceAccounts.preflight.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: cilium-pre-flight
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cilium-pre-flight
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ .Values.serviceAccounts.preflight.name | quote }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- end }}
|