# services/finance/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: finance
resources:
  - namespace.yaml
  - serviceaccount.yaml
  - portal-rbac.yaml
  - finance-secrets-ensure-rbac.yaml
  - actual-budget-data-pvc.yaml
  - firefly-storage-pvc.yaml
  - bootstrap-jobs/finance-secrets-ensure-job.yaml
  - actual-budget-deployment.yaml
  - firefly-deployment.yaml
  - firefly-user-sync-cronjob.yaml
  - firefly-cronjob.yaml
  - actual-budget-service.yaml
  - firefly-service.yaml
  - actual-budget-ingress.yaml
  - firefly-ingress.yaml
generatorOptions:
  disableNameSuffixHash: true
configMapGenerator:
  - name: actual-openid-bootstrap-script
    files:
      - actual_openid_bootstrap.mjs=scripts/actual_openid_bootstrap.mjs
  - name: firefly-user-sync-script
    files:
      - firefly_user_sync.php=scripts/firefly_user_sync.php
  - name: finance-secrets-ensure-script
    files:
      - finance_secrets_ensure.py=scripts/finance_secrets_ensure.py
