apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: {{ include "aws-vpc-cni.fullname" . }}
  labels:
{{ include "aws-vpc-cni.labels" . | indent 4 }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: {{ include "aws-vpc-cni.fullname" . }}
subjects:
  - kind: ServiceAccount
    name: {{ template "aws-vpc-cni.serviceAccountName" . }}
    namespace: {{ .Release.Namespace }}
