helm-charts/charts/node-labeler/templates/clusterrolebinding.yaml
okozachenko d3f81d5c4a Add node-labeler helm chart
Change-Id: I286c283272a86eff81b479a9dad29eb2d958fecc
2020-07-21 18:27:15 +03:00

15 lines
425 B
YAML
Executable File

---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: {{ include "node-labeler.fullname" . }}
labels:
{{ include "node-labeler.labels" . | indent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "node-labeler.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "node-labeler.fullname" . }}
namespace: {{ .Release.Namespace }}