github.com/replicatedhq/ship@v0.55.0/integration/base/shipapp-helm-values/expected/installer/consul/templates/consul-test-clusterrole.yaml (about)

     1  {{- if .Values.test.rbac.create }}
     2  apiVersion: rbac.authorization.k8s.io/v1beta1
     3  kind: ClusterRole
     4  metadata:
     5    labels:
     6      app: {{ template "consul.name" . }}
     7      chart: {{ template "consul.chart" . }}
     8      heritage: {{ .Release.Service }}
     9      release: {{ .Release.Name }}
    10    name: {{ template "consul.fullname" . }}-test
    11  rules:
    12  - apiGroups: [""]
    13    resources: ["pods", "pods/log"]
    14    verbs: ["get", "list"]
    15  - apiGroups: [""]
    16    resources: ["pods/exec"]
    17    verbs: ["create"]
    18  {{- end }}