{{- /*
ServiceAccount for environment-controller (slice C2 / CC3 of EPIC-0 #1095).

Reconciles Environment.catalyst.openova.io/v1 CRs to per-vCluster Flux
GitRepository manifests committed in the per-Org Gitea repo. Default
off — operator opts in per-Sovereign overlay.
*/ -}}
{{- if .Values.controllers.environment.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "controllers.fullname" "environment" }}
  namespace: {{ .Release.Namespace }}
  labels:
    {{- include "controllers.labels" (dict "name" "environment" "root" .) | nindent 4 }}
{{- end }}
