aboutsummaryrefslogtreecommitdiffstats
path: root/kud/demo/composite-firewall/sink/templates/rolebinding.yaml
blob: 14c5b7588f39757181c33225b9c464de5abe5119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{- if .Values.rbac.create }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: {{ include "sink.fullname" . }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: psp:privileged
subjects:
- kind: ServiceAccount
  name: {{ include "sink.serviceAccountName" . }}
  namespace: {{ $.Release.Namespace }}
{{- end }}