15 lines
457 B
YAML
15 lines
457 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
name: {{ include "upgrade-controller.fullname" . }}
|
||
|
labels:
|
||
|
{{- include "upgrade-controller.labels" . | nindent 4 }}
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: {{ include "upgrade-controller.fullname" . }}
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ include "upgrade-controller.serviceAccountName" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|