---
# Internal variables for Forgejo deployment

# List of PVCs to clean up
forgejo_pvcs_to_cleanup:
  - gitea-shared-storage
  - forgejo-postgresql-ha-postgresql-0
  - forgejo-postgresql-ha-postgresql-1
  - forgejo-postgresql-ha-postgresql-2
  - data-forgejo-postgresql-ha-postgresql-0
  - data-forgejo-postgresql-ha-postgresql-1
  - data-forgejo-postgresql-ha-postgresql-2
  - redis-data-forgejo-redis-cluster-0
  - redis-data-forgejo-redis-cluster-1
  - redis-data-forgejo-redis-cluster-2

# Resources to clean up
forgejo_deployments_to_cleanup:
  - { kind: "Deployment", name: "forgejo" }
  - { kind: "StatefulSet", name: "forgejo-postgresql-ha-postgresql" }
  - { kind: "StatefulSet", name: "forgejo-redis-cluster" }

# ConfigMaps and Secrets to clean up
forgejo_configs_to_cleanup:
  - { kind: "ConfigMap", name: "forgejo" }
  - { kind: "ConfigMap", name: "forgejo-inline-config" }
  - { kind: "Secret", name: "forgejo" }
  - { kind: "Secret", name: "forgejo-init" }
  - { kind: "Secret", name: "forgejo-inline-config" }

# Resource timeouts
forgejo_job_timeout_retries: 15
forgejo_job_timeout_delay: 10
forgejo_resource_deletion_wait: 30
