--- # Default values for Gitea deployment # Storage configuration gitea_storage_class_name: "gitea-local-storage" gitea_data_pv_size: "10Gi" gitea_postgresql_pv_size: "8Gi" gitea_postgresql_ha_pv_size: "8Gi" gitea_redis_pv_size: "8Gi" gitea_pv_reclaim_policy: "Retain" # Namespace settings gitea_namespace: "container-mom-git" # Credentials (these should be overridden by vault secrets) gitea_admin_username: "gitea_admin" gitea_admin_password: "gitea_admin" gitea_admin_email: "gitea@container.mom" gitea_db_password: "gitea" # Helm chart values gitea_helm_chart_ref: "gitea" gitea_helm_chart_repo_url: "https://dl.gitea.io/charts/" gitea_helm_release_name: "gitea" gitea_helm_wait_timeout: "600s" # OpenShift specific gitea_openshift_uid: 1000860000 # Service and route settings gitea_root_url: "https://git.container.mom" gitea_domain: "git.container.mom" gitea_ssh_domain: "git.container.mom" # Node for local storage gitea_node_hostname: "master-0" # Local storage paths - using /var/tmp which should exist on most systems gitea_data_path: "/var/tmp/gitea-data" gitea_postgresql_path: "/var/tmp/gitea-postgresql" postgresql_ha_data_path: "/var/tmp/gitea-postgresql-ha" redis_data_path: "/var/tmp/gitea-redis" gitea_postgresql_ha_path_prefix: "/var/gitea-postgresql-ha-" gitea_redis_path_prefix: "/var/gitea-redis-" # Service accounts gitea_storage_init_sa: "gitea-storage-init" gitea_app_sa: "gitea" # Persistent volumes names gitea_data_pv_name: "gitea-local-pv-data" gitea_postgresql_pv_name: "gitea-local-pv-postgresql" gitea_postgresql_ha_pv_name_prefix: "gitea-local-pv-postgresql-ha-" gitea_redis_pv_name_prefix: "gitea-local-pv-redis-" # Node selector for PVs gitea_node_selector_key: "node-role.kubernetes.io/worker" gitea_node_selector_operator: "Exists" # HA configuration gitea_postgresql_ha_replicas: 3 gitea_redis_replicas: 3 # Timeout values gitea_resource_deletion_wait: 30 gitea_job_timeout_retries: 15 gitea_job_timeout_delay: 10 gitea_storage_init_retries: 15 gitea_storage_init_delay: 10 # List of PVCs to clean up gitea_pvcs_to_cleanup: - gitea-shared-storage - gitea-postgresql-ha-postgresql-0 - gitea-postgresql-ha-postgresql-1 - gitea-postgresql-ha-postgresql-2 - data-gitea-postgresql-ha-postgresql-0 - data-gitea-postgresql-ha-postgresql-1 - data-gitea-postgresql-ha-postgresql-2 - redis-data-gitea-redis-cluster-0 - redis-data-gitea-redis-cluster-1 - redis-data-gitea-redis-cluster-2 - redis-data-gitea-redis-master # List of deployments/statefulsets to clean up gitea_deployments_to_cleanup: - { kind: "Deployment", name: "gitea" } - { kind: "StatefulSet", name: "gitea-postgresql-ha-postgresql" } - { kind: "StatefulSet", name: "gitea-postgresql-ha-pgpool" } - { kind: "StatefulSet", name: "gitea-redis-cluster" } # List of ConfigMaps and Secrets to clean up gitea_configs_to_cleanup: - { kind: "ConfigMap", name: "gitea" } - { kind: "ConfigMap", name: "gitea-inline-config" } - { kind: "Secret", name: "gitea" } - { kind: "Secret", name: "gitea-init" } - { kind: "Secret", name: "gitea-inline-config" } - { kind: "Secret", name: "gitea-postgresql-ha" } - { kind: "ConfigMap", name: "gitea-postgresql-ha-configuration" }