# Create the ServiceAccount and roles necessary for Calico.
apiVersion: v1
kind: ServiceAccount
metadata:
  name: "{{ include "aws-calico.serviceAccountName" . }}-node"
  labels:
    app.kubernetes.io/name: "{{ include "aws-calico.fullname" . }}-node"
{{ include "aws-calico.labels" . | indent 4 }}

---

apiVersion: v1
kind: ServiceAccount
metadata:
  name: "{{ include "aws-calico.serviceAccountName" . }}-typha-cpha"
  labels:
    app.kubernetes.io/name: "{{ include "aws-calico.fullname" . }}-typha-cpha"
{{ include "aws-calico.labels" . | indent 4 }}