sigs.k8s.io/cluster-api-provider-azure@v1.14.3/hack/observability/opentelemetry/chart/templates/clusterrole.yaml (about)

     1  {{- if .Values.clusterRole.create -}}
     2  apiVersion: rbac.authorization.k8s.io/v1
     3  kind: ClusterRole
     4  metadata:
     5    name: {{ include "opentelemetry-collector.clusterRoleName" . }}
     6    labels:
     7      {{- include "opentelemetry-collector.labels" . | nindent 4 }}
     8    {{- with .Values.clusterRole.annotations }}
     9    annotations:
    10      {{- toYaml . | nindent 4 }}
    11    {{- end }}
    12  rules: {{ toYaml .Values.clusterRole.rules | nindent 2 -}}
    13  {{- end }}