apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    dokku.com/managed: "true"
    {{ include "print.annotations" (dict "config" $.Values.global "key" "serviceaccount") | indent 4 }}
  labels:
    app.kubernetes.io/instance: service-account
    app.kubernetes.io/name: service-account
    app.kubernetes.io/part-of: "{{ $.Values.global.app_name }}"
    {{ include "print.labels" (dict "config" $.Values.global "key" "serviceaccount") | indent 4 }}
  name: "{{ $.Values.global.app_name }}"
  namespace: "{{ $.Values.global.namespace }}"
