mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:44:33 +00:00
- Resolved context mismatches by updating DB references to APP where appropriate. - Updated Supabase deployment to ensure proper handling of cross-cluster DB hosts. - Simplified ingress logic by setting `split_frontdoor_to_db` to `false` for APP clusters lacking GCE Ingress support.
247 lines
10 KiB
INI
247 lines
10 KiB
INI
; Prole Master Configuration File
|
|
; Generated by install.py on 2026-04-14 21:00:43
|
|
; This file is used as input for Ansible deployment and k8s cluster creation.
|
|
|
|
[User]
|
|
; User-editable values; derived values below reference these by default.
|
|
; No user values captured yet for this section.
|
|
|
|
[Inputs]
|
|
; Screen-scoped inputs used for unattended replays (-S)
|
|
build.deploy_env = Prod
|
|
build.run_build = false
|
|
dependencies.ansible.install = true
|
|
dependencies.auto_install_missing = true
|
|
dependencies.brew.install = true
|
|
dependencies.docker.install = true
|
|
dependencies.gcloud.install = true
|
|
dependencies.k3d.install = true
|
|
dependencies.kubectl.install = true
|
|
dependencies.kubectx.install = true
|
|
dependencies.opentofu.install = true
|
|
dependencies.python.install = true
|
|
dependencies.verify_all = false
|
|
disk_selection.disk_type = local
|
|
disk_selection.local_path = /Users/chrisfu
|
|
disk_selection.removable_mount =
|
|
env_setup.APP_CLUSTER_KUBECONTEXT = gke_plenary-truck-485623-p7_us-west3_knoe-dev-0
|
|
env_setup.APP_CLUSTER_MODE = standard
|
|
env_setup.APP_CLUSTER_NAME = knoe-dev-0
|
|
env_setup.CLUSTER_NAME = ${CLUSTER_NAME}
|
|
env_setup.DATABASE_NAMESPACE = ${DATABASE_NAMESPACE}
|
|
env_setup.DB_CLUSTER_KUBECONTEXT = gke_plenary-truck-485623-p7_us-west3_knoe-dev-cnpg-0
|
|
env_setup.DB_CLUSTER_MODE = standard
|
|
env_setup.DB_CLUSTER_NAME = knoe-dev-cnpg-0
|
|
env_setup.PROLE_CONF = /Users/chrisfu/dev/prole/conf
|
|
env_setup.PROLE_DATA = /Users/chrisfu/dev/prole/data
|
|
env_setup.PROLE_HOME = /Users/chrisfu/dev/prole
|
|
env_setup.PROLE_LOGS = /Users/chrisfu/dev/prole/logs
|
|
env_setup.PROLE_SERVICE = /Users/chrisfu/dev/prole/etc
|
|
gitops.git_provider = GitLab
|
|
init_cluster.app_cluster_kubecontext = gke_plenary-truck-485623-p7_us-west3_knoe-dev-0
|
|
init_cluster.app_cluster_machine_type = e2-small
|
|
init_cluster.app_cluster_mode = standard
|
|
init_cluster.app_cluster_name = knoe-dev-0
|
|
init_cluster.app_cluster_node_count = 3
|
|
init_cluster.app_cluster_region = us-west3
|
|
init_cluster.at_rest_encryption_enabled = true
|
|
init_cluster.cluster_env = prod
|
|
init_cluster.db_boot_disk_size_gb = 50
|
|
init_cluster.db_boot_disk_type = pd-standard
|
|
init_cluster.db_cluster_kubecontext = gke_plenary-truck-485623-p7_us-west3_knoe-dev-cnpg-0
|
|
init_cluster.db_cluster_machine_type = e2-standard-2
|
|
init_cluster.db_cluster_mode = standard
|
|
init_cluster.db_cluster_name = knoe-dev-cnpg-0
|
|
init_cluster.db_cluster_node_count = 3
|
|
init_cluster.db_cluster_region = us-west3
|
|
init_cluster.db_cluster_zones =
|
|
init_cluster.gitops_enabled = true
|
|
init_cluster.k3s_server_url =
|
|
init_cluster.k3s_token =
|
|
init_cluster.kerberos_enabled = false
|
|
init_cluster.project_id = plenary-truck-485623-p7
|
|
init_cluster.start_cluster = true
|
|
init_cluster.supabase_analytics_enabled = true
|
|
init_cluster.supabase_auth_enabled = true
|
|
init_cluster.supabase_enabled = true
|
|
init_cluster.supabase_meta_enabled = true
|
|
init_cluster.supabase_realtime_enabled = true
|
|
init_cluster.supabase_studio_enabled = true
|
|
init_cluster.supabase_studio_url = db.0.knoe.dev
|
|
init_cnpg_deploy.force_rollout = false
|
|
init_cnpg_deploy.run_deploy = true
|
|
init_db_build.run_build = true
|
|
init_password.app_cluster_name = knoe-dev-0
|
|
init_password.cluster_name = ${CLUSTER_NAME}
|
|
init_password.db_cluster_name = knoe-dev-cnpg-0
|
|
init_password.db_host_port = 5432
|
|
init_password.db_namespace = ${DATABASE_NAMESPACE}
|
|
init_password.db_password = ${PROLE_SECRET:v1:CBYbPqQon47mtCR_:1lGyamZHSQEw2cy8FwhTVXC8FIfXzqnDNZljAibbifr0hVvr}
|
|
init_password.db_password_confirm = ${PROLE_SECRET:v1:CBYbPqQon47mtCR_:1lGyamZHSQEw2cy8FwhTVXC8FIfXzqnDNZljAibbifr0hVvr}
|
|
init_password.db_username = chrisfu
|
|
init_password.generate_ssh_key = true
|
|
init_scripts.run_scripts = true
|
|
kerberos_config.enabled = False
|
|
kerberos_config.init_authority = true
|
|
kerberos_config.kdc = 192.168.5.32
|
|
kerberos_config.password =
|
|
kerberos_config.realm =
|
|
kerberos_config.test_connection = false
|
|
kerberos_config.user = administrator
|
|
network_scan.run = true
|
|
ollama_config.model =
|
|
ollama_config.server_host =
|
|
ollama_config.server_port = 11434
|
|
|
|
[Global]
|
|
; Variables used by name in more than one place or assumed global scope
|
|
; --- Public Endpoints (Resolved on APP Cluster) ---
|
|
; api.knoe.dev -> knoe-svc-kong (Prole authority)
|
|
; git.knoe.dev -> GitLab
|
|
; db.0.knoe.dev -> Supabase Studio
|
|
; api.0.knoe.dev -> Supabase Kong
|
|
; svc.knoe.dev -> Grafana
|
|
; --- Topology ---
|
|
; Supabase App Components: APP Cluster
|
|
; Postgres Database: DB Cluster (Accessed Cross-Cluster)
|
|
ARGOCD_NAMESPACE = argocd
|
|
ARTIFACT_REGISTRY = us-west3-docker.pkg.dev/plenary-truck-485623-p7/knoe-system
|
|
AUTHORITY_ENABLED = true
|
|
AUTH_HOSTNAME = api.knoe.dev
|
|
AUTH_LOGIN_PATH = /auth/login
|
|
AUTH_RESPONSE_HEADERS = X-Prole-User,X-Prole-Email,X-Prole-Groups
|
|
AUTH_VERIFY_PATH = /auth/verify
|
|
APP_CLUSTER_KUBECONTEXT = gke_plenary-truck-485623-p7_us-west3_knoe-dev-0
|
|
CLUSTER_ENV = prod
|
|
CLUSTER_NAME = knoe-db
|
|
CLUSTER_SIZE_PROFILE = small
|
|
CNPG_INSTANCES = 3
|
|
CNPG_SIZE_PROFILE = small
|
|
DATABASE_NAMESPACE = knoe-db-0
|
|
DB_CLUSTER_KUBECONTEXT = gke_plenary-truck-485623-p7_us-west3_knoe-dev-cnpg-0
|
|
DB_HOST_PORT = 5432
|
|
DB_PASSWORD = ${PROLE_SECRET:v1:rcUdi4vOG6kNGEU5:EqQse57hHcfquOmKCOJ6ll1zniOz2BMapc5E9fnLuRc4T3-B}
|
|
DEPLOYMENT_MODE = k8s
|
|
DEPLOYMENT_TARGET = prole-prod-cluster
|
|
DOCKER_IMPORT_DIR =
|
|
DOCKER_PRELOAD = false
|
|
GARAGE_PRIVATE_S3_ENDPOINT = http://10.180.15.239:3900
|
|
GITLAB_DOMAIN = git.knoe.dev
|
|
GITLAB_INGRESS_CLASS = gce
|
|
GITLAB_PUBLIC_HOSTS = git.knoe.dev
|
|
GITLAB_REPAIR_BLOCKED_AUTOCLEAN = 1
|
|
GRAFANA_HOSTNAME = svc.knoe.dev
|
|
K3S_SERVER =
|
|
K3S_TOKEN =
|
|
KNOE_DB_USER = chrisfu
|
|
OPENTOFU_URL = http://127.0.0.1:8080
|
|
OPTIONAL_WORKLOADS_MIN_READY_SCHEDULABLE_NODES = 2
|
|
PROLE_HOME = $HOME/dev/prole
|
|
PROTECTED_DB_HOSTS = db.0.knoe.dev,api.0.knoe.dev
|
|
PROTECTED_GIT_HOSTS = git.knoe.dev
|
|
REDIS_HOST = redis-master.knoe-system.svc.cluster.local
|
|
REGISTRY_NAMESPACE = knoe-system
|
|
SERVICE_NAMESPACE = knoe-system
|
|
SUPABASE_API_HOSTNAME = api.0.knoe.dev
|
|
SUPABASE_HOSTNAME = db.0.knoe.dev
|
|
SUPABASE_INGRESS_CLASS = gce
|
|
SUPABASE_STUDIO_HOSTNAME = db.0.knoe.dev
|
|
|
|
[Welcome]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Dependencies]
|
|
STATUS = All installed
|
|
|
|
[Network]
|
|
KDC_AUTO_DETECTED = 192.168.5.32
|
|
KERBEROS_AUTO_ENABLED = True
|
|
|
|
[Port Forwards]
|
|
PORT_FORWARD_K3D_MAPPING_1 = id=argocd;namespace=argocd;target=svc/argocd-server;address=0.0.0.0;hostPort=8081;servicePort=80;protocol=TCP;description=ArgoCD
|
|
PORT_FORWARD_K3D_MAPPING_10 = id=supabase-studio;namespace=supabase;target=svc/studio;address=0.0.0.0;hostPort=18080;servicePort=3000;protocol=TCP;description=Supabase Studio
|
|
PORT_FORWARD_K3D_MAPPING_11 = id=supabase-auth;namespace=supabase;target=svc/auth;address=127.0.0.1;hostPort=9999;servicePort=9999;protocol=TCP;description=Supabase Auth (GoTrue)
|
|
PORT_FORWARD_K3D_MAPPING_12 = id=supabase-rest;namespace=supabase;target=svc/rest;address=0.0.0.0;hostPort=3001;servicePort=3000;protocol=TCP;description=Supabase REST (PostgREST)
|
|
PORT_FORWARD_K3D_MAPPING_13 = id=supabase-realtime;namespace=supabase;target=svc/realtime;address=0.0.0.0;hostPort=4000;servicePort=4000;protocol=TCP;description=Supabase Realtime
|
|
PORT_FORWARD_K3D_MAPPING_14 = id=gitea-http;namespace=gitea;target=svc/gitea-http;address=0.0.0.0;hostPort=13000;servicePort=3000;protocol=TCP;description=Gitea Web
|
|
PORT_FORWARD_K3D_MAPPING_15 = id=gitea-ssh;namespace=gitea;target=svc/gitea-ssh;address=0.0.0.0;hostPort=22;servicePort=22;protocol=TCP;description=Gitea SSH
|
|
PORT_FORWARD_K3D_MAPPING_2 = id=garage;namespace=knoe-system;target=svc/garage;address=0.0.0.0;hostPort=3900;servicePort=3900;protocol=TCP;description=Garage S3
|
|
PORT_FORWARD_K3D_MAPPING_3 = id=openbao;namespace=knoe-system;target=svc/openbao;address=0.0.0.0;hostPort=8200;servicePort=8200;protocol=TCP;description=OpenBao
|
|
PORT_FORWARD_K3D_MAPPING_4 = id=opentofu;namespace=knoe-system;target=svc/opentofu;address=0.0.0.0;hostPort=8080;servicePort=8080;protocol=TCP;description=OpenTofu
|
|
PORT_FORWARD_K3D_MAPPING_5 = id=dashboard;namespace=kubernetes-dashboard;target=svc/kubernetes-dashboard-kong-proxy;address=127.0.0.1;hostPort=8443;servicePort=443;protocol=TCP;description=Kubernetes Dashboard
|
|
PORT_FORWARD_K3D_MAPPING_6 = id=postgres;namespace=${DATABASE_NAMESPACE};target=svc/knoe-db-rw;address=0.0.0.0;hostPort=5432;servicePort=5432;protocol=TCP;description=PostgreSQL (primary)
|
|
PORT_FORWARD_K3D_MAPPING_7 = id=prometheus;namespace=monitoring;target=svc/kps-kube-prometheus-stack-prometheus;address=127.0.0.1;hostPort=9090;servicePort=9090;protocol=TCP;description=Prometheus UI
|
|
PORT_FORWARD_K3D_MAPPING_8 = id=grafana;namespace=monitoring;target=svc/kps-grafana;address=0.0.0.0;hostPort=3000;servicePort=80;protocol=TCP;description=Grafana UI
|
|
PORT_FORWARD_K3D_MAPPING_9 = id=supabase-kong;namespace=supabase;target=svc/kong;address=0.0.0.0;hostPort=8000;servicePort=8000;protocol=TCP;description=Supabase API (Kong)
|
|
|
|
[System Environment]
|
|
PROLE_CONF = $HOME/dev/prole/conf
|
|
PROLE_DATA = $HOME/dev/prole/data
|
|
PROLE_HOME = $HOME/dev/prole
|
|
PROLE_LOGS = $HOME/dev/prole/logs
|
|
PROLE_SERVICE = $HOME/dev/prole/etc
|
|
|
|
[Monitoring]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Kerberos Authentication]
|
|
STATUS = Skipped
|
|
|
|
[Ollama]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Optional Features]
|
|
AT_REST_ENCRYPTION_ENABLED = true
|
|
GITOPS_ENABLED = true
|
|
GITOPS_PROVIDER = gitlab
|
|
KERBEROS_ENABLED = false
|
|
SUPABASE_ENABLED = true
|
|
|
|
[GitOps]
|
|
STATUS = Skipped
|
|
|
|
[Database Creation]
|
|
APP_CLUSTER_NAME = knoe-dev-0
|
|
DB_CLUSTER_NAME = knoe-dev-cnpg-0
|
|
DB_USER = chrisfu
|
|
|
|
[Initialize Cluster]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Dev Cluster (k3d)]
|
|
CLUSTER_ENV = k3d-knoe-dev-cluster
|
|
DISPLAY_NAME = knoe-dev-cluster
|
|
KUBECTL_CONTEXT = prod
|
|
MODE = k3d
|
|
|
|
[Service Cluster (k3s)]
|
|
CLUSTER_ENV = prole-service-cluster
|
|
DISPLAY_NAME = prole-service-cluster
|
|
K3S_SERVER_URL =
|
|
K3S_TOKEN =
|
|
MODE = k3s
|
|
PIPELINE_URL = http://127.0.0.1:8080
|
|
|
|
[GCP]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Prod Cluster (k8s)]
|
|
ARTIFACTS_DIR =
|
|
CLUSTER_ENV = prole-prod-cluster
|
|
DISPLAY_NAME = prole-prod-cluster
|
|
MODE = k8s
|
|
PIPELINE_URL = http://127.0.0.1:8080
|
|
|
|
[Docker Build]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Initialization Scripts]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Deployment]
|
|
MODE = k8s
|
|
TARGET = prole-prod-cluster
|
|
|
|
[Install]
|
|
STATUS = Failed
|