apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ include "prom2teams.fullname" . }}-psp namespace: {{ include "prom2teams.namespace" . }} labels: {{ include "prom2teams.labels" . | nindent 4 }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: {{ include "prom2teams.fullname" . }}-psp subjects: - kind: ServiceAccount name: {{ include "prom2teams.fullname" . }}