github.com/replicatedcom/ship@v0.50.0/integration/base/shipapp-helm-values/expected/installer/consul/templates/consul-test-clusterrolebinding.yaml (about)

     1  {{- if .Values.test.rbac.create }}
     2  apiVersion: rbac.authorization.k8s.io/v1beta1
     3  kind: ClusterRoleBinding
     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  subjects:
    12    - kind: ServiceAccount
    13      name: {{ template "consul.fullname" . }}-test
    14      namespace: {{ .Release.Namespace }}
    15  roleRef:
    16    apiGroup: rbac.authorization.k8s.io
    17    kind: ClusterRole
    18    name: {{ template "consul.fullname" . }}-test
    19  {{- end }}