You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {{- if and .Values.serviceAccount.create .Values.rbac.create }}
- kind: RoleBinding
- apiVersion: rbac.authorization.k8s.io/v1
- metadata:
- name: {{ template "redis-ha.fullname" . }}
- namespace: {{ .Release.Namespace }}
- labels:
- heritage: {{ .Release.Service }}
- release: {{ .Release.Name }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version }}
- app: {{ template "redis-ha.fullname" . }}
- subjects:
- - kind: ServiceAccount
- name: {{ template "redis-ha.serviceAccountName" . }}
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: Role
- name: {{ template "redis-ha.fullname" . }}
- {{- end }}
|