18 lines
490 B
YAML
18 lines
490 B
YAML
|
kind: RoleBinding
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-controller
|
||
|
labels:
|
||
|
app: {{ .Release.Name }}-controller
|
||
|
component: {{ .Release.Name }}-controller
|
||
|
release: {{ .Release.Name }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ .Release.Name }}-controller
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
roleRef:
|
||
|
kind: Role
|
||
|
name: {{ .Release.Name }}-controller
|
||
|
apiGroup: rbac.authorization.k8s.io
|