deploy-templates/templates/config-watcher-role.yaml (23 lines of code) (raw):

{{- if or (not .Values.global.excludePortals) (not (has "citizen" .Values.global.excludePortals)) }} {{- if .Values.configWatcher.deploy -}} apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ include "ddm-notification-service.configWatcher.serviceAccountName" . }}-role rules: - apiGroups: - "" - extensions - apps resources: - configmaps - pods - services - endpoints - secrets verbs: - get - list - watch {{- end }} {{- end }}