{{- /* "true" when the module needs the viewer's own token in each request: for actions (they run as the viewer) and for ViewerRBAC visibility (what the viewer may see is asked as the viewer). */}} {{- define "cluster_map_viewer_token" -}} {{- or .Values.clusterMap.actions.enabled (eq .Values.clusterMap.auth.visibility "ViewerRBAC") -}} {{- end -}}