deploy-templates/templates/rolebinding.yaml (17 lines of code) (raw):
{{ if .Values.framework }}
{{ if eq .Values.framework "operator-sdk" }}
{{- if or (not .Values.global.excludePortals) (not (has "citizen" .Values.global.excludePortals)) }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "ddm-notification-service.serviceAccountName" . }}-edp
roleRef:
kind: Role
name: edp-{{ include "ddm-notification-service.serviceAccountName" . }}-role
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: {{ include "ddm-notification-service.serviceAccountName" . }}
{{- end }}
{{ end }}
{{ end }}