# services/hermes/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: hermes
resources:
  - namespace.yaml
  - vault-serviceaccount.yaml
  - configmap.yaml
  - rbac.yaml
  - pvc.yaml
  - model-gate-rbac.yaml
  - ariadne-handoff-rbac.yaml
  - model-gate-state.yaml
  - model-gate-configmap.yaml
  - model-gate-deployment.yaml
  - networkpolicy.yaml
  - ollama-deployment.yaml
  - deployment.yaml
  - service.yaml
  - oauth2-proxy.yaml
  - agent-certificate.yaml
  - agent-ingress.yaml

configMapGenerator:
  - name: hermes-operator-guide
    namespace: hermes
    files:
      - OPERATOR-RUNBOOK.md=NOTES.md
    options:
      disableNameSuffixHash: true
  - name: hermes-triage-skill
    namespace: hermes
    files:
      - SKILL.md=skills/triage-titan-test-failures/SKILL.md
      - openai.yaml=skills/triage-titan-test-failures/agents/openai.yaml
    options:
      disableNameSuffixHash: true
  - name: hermes-mastery-skill
    namespace: hermes
    files:
      - SKILL.md=skills/master-hermes-on-atlas/SKILL.md
      - openai.yaml=skills/master-hermes-on-atlas/agents/openai.yaml
      - architecture.md=skills/master-hermes-on-atlas/references/architecture.md
      - curriculum.md=skills/master-hermes-on-atlas/references/curriculum.md
      - incident-drills.md=skills/master-hermes-on-atlas/references/incident-drills.md
      - mastery-rubric.md=skills/master-hermes-on-atlas/references/mastery-rubric.md
      - two-hour-proof-sprint.md=skills/master-hermes-on-atlas/references/two-hour-proof-sprint.md
    options:
      disableNameSuffixHash: true
  - name: hermes-service-health-skill
    namespace: hermes
    files:
      - SKILL.md=skills/triage-atlas-service-health/SKILL.md
      - openai.yaml=skills/triage-atlas-service-health/agents/openai.yaml
      - service-map.md=skills/triage-atlas-service-health/references/service-map.md
    options:
      disableNameSuffixHash: true
  - name: hermes-alert-tuning-skill
    namespace: hermes
    files:
      - SKILL.md=skills/tune-atlas-alerts/SKILL.md
      - openai.yaml=skills/tune-atlas-alerts/agents/openai.yaml
      - alert-review.md=skills/tune-atlas-alerts/references/alert-review.md
    options:
      disableNameSuffixHash: true
