{{- if .Values.classificationAllowed.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.classificationAllowed.name | quote }}
  labels: {{- include "statehub.labels" . | nindent 4 }}
data:
  # Generated copy of the-custodian canon allowed-values. Kept in sync by
  # scripts/sync_classification_allowed.py; `--check` fails the release on drift.
  repo-classification.allowed.yaml: |
{{ .Files.Get "files/repo-classification.allowed.yaml" | indent 4 }}
{{- end }}
