Sha256: 2e660162869fd7a2dd9922863e59a23d4c1c882fe86b2ddb315509f4c890044b

Contents?: true

Size: 529 Bytes

Versions: 5

Compression:

Stored size: 529 Bytes

Contents

{{- if and .Values.rbac.create }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
  labels:
    {{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
rules:
  - apiGroups: [""]
    resources:
    {{- if eq (default "configMapRef" .Values.envFrom.type) "secretRef" }}
      - "secrets"
    {{- else }}
      - "configmap"
    {{- end }}
    resourceNames:
      - {{ .Values.envFrom.name | quote }}
    verbs: ["get"]
{{- end }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-prometheus-exporter-0.2.0 helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml
sidekiq-prometheus-exporter-0.1.17 helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml
sidekiq-prometheus-exporter-0.1.16 helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml
sidekiq-prometheus-exporter-0.1.15 helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml
sidekiq-prometheus-exporter-0.1.14 helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml