mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- Resolve namespace drift in Kerberos test flow and OpenBao deployment. - Fix OpenAPI credential-validation failures in etc scripts by using --validate=false with kubectl. - Introduce preferred_service_namespace() to accurately target namespaces for KDC policy/test paths. - Default Kerberos test user to 'administrator' and prefill from Ansible vault secrets. - Generalized OpenBao deployment logic to correctly handle multi-namespace environments. - Added regression test 'tests/etc/test_init_kerberos_k3s_real_kdc.sh'. - Synchronized SERVICE_NAMESPACE extraction in prole_cfg.sh. Co-authored-by: Junie <junie@jetbrains.com>
183 lines
6.3 KiB
INI
183 lines
6.3 KiB
INI
; Prole Master Configuration File
|
|
; Generated by install.py on 2026-03-01 00:30:19
|
|
; This file is used as input for Ansible deployment and k8s cluster creation.
|
|
|
|
[User]
|
|
; User-editable values; derived values below reference these by default.
|
|
NAMESPACE = prole-db-a0001
|
|
PROLE_CONF = ${PROLE_HOME}/conf
|
|
PROLE_DATA = /Users/chrisfu/.prole/data
|
|
PROLE_HOME = /Users/chrisfu/dev/prole
|
|
PROLE_LOGS = /opt/prole/logs/chrisfu
|
|
PROLE_SERVICE = ${PROLE_HOME}/etc
|
|
SERVICE_NAMESPACE = default
|
|
|
|
[Inputs]
|
|
; Screen-scoped inputs used for unattended replays (-S)
|
|
build.deploy_env = Dev
|
|
build.run_build = false
|
|
dependencies.ansible.install = true
|
|
dependencies.auto_install_missing = true
|
|
dependencies.brew.install = true
|
|
dependencies.docker.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 = ${PROLE_HOME}/prole-tools-app/dist
|
|
disk_selection.removable_mount =
|
|
env_setup.NAMESPACE = prole-hq0-db0
|
|
env_setup.PROLE_CONF = ${PROLE_CONF}
|
|
env_setup.PROLE_DATA = ${PROLE_DATA}
|
|
env_setup.PROLE_HOME = ${PROLE_HOME}
|
|
env_setup.PROLE_LOGS = ${PROLE_LOGS}
|
|
env_setup.PROLE_SERVICE = ${PROLE_SERVICE}
|
|
init_cluster.at_rest_encryption_enabled = true
|
|
init_cluster.cluster_env = service
|
|
init_cluster.deployment_target = prole-service-cluster
|
|
init_cluster.gitops_enabled = false
|
|
init_cluster.k3s_server_url = https://myrddin.prole.org:6443
|
|
init_cluster.k3s_token = ${OPENBAO:REDACTED}
|
|
init_cluster.kerberos_enabled = true
|
|
init_cluster.mode = k3s
|
|
init_cluster.start_cluster = true
|
|
init_cluster.supabase_enabled = false
|
|
init_cnpg_deploy.force_rollout = false
|
|
init_cnpg_deploy.run_deploy = true
|
|
init_db_build.run_build = true
|
|
init_password.db_host_port = 5432
|
|
init_password.db_namespace = prole-hq0-db0
|
|
init_password.db_password = ${OPENBAO:kv/prole/${NAMESPACE}/db#password}
|
|
init_password.db_password_confirm = ${OPENBAO:kv/prole/${NAMESPACE}/db#password}
|
|
init_password.db_username = chrisfu
|
|
init_password.generate_ssh_key = true
|
|
init_scripts.run_scripts = true
|
|
kerberos_config.enabled = true
|
|
kerberos_config.kdc = 10.0.0.3
|
|
kerberos_config.password = ${OPENBAO:kv/prole/${NAMESPACE}/kerberos#password}
|
|
kerberos_config.realm = PROLE.ORG
|
|
kerberos_config.test_connection = true
|
|
kerberos_config.user = chrisfu
|
|
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
|
|
CLUSTER_ENV = service
|
|
DB_HOST_PORT = 5432
|
|
DB_PASSWORD = ${OPENBAO:kv/prole/${NAMESPACE}/db#password}
|
|
DEPLOYMENT_MODE = k3s
|
|
DEPLOYMENT_TARGET = prole-service-cluster
|
|
NAMESPACE = ${NAMESPACE}
|
|
PROLE_DB_USER = chrisfu
|
|
PROLE_HOME = ${PROLE_HOME}
|
|
PROLE_K3S_SERVER = https://myrddin.prole.org:6443
|
|
PROLE_K3S_TOKEN = ${OPENBAO:REDACTED}
|
|
PROLE_OPENTOFU_URL = http://127.0.0.1:8080
|
|
SERVICE_NAMESPACE = default
|
|
|
|
[Welcome]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Dependencies]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Network]
|
|
AD_DC_HOST = myrddin.prole.org
|
|
AD_DC_IP = 10.0.0.3
|
|
ANSIBLE_DOMAIN = prole.org
|
|
ANSIBLE_INFRASTRUCTURE = ${PROLE_HOME}/infrastructure
|
|
ANSIBLE_INVENTORY = ${PROLE_HOME}/infrastructure/inventory
|
|
ANSIBLE_REALM = PROLE.ORG
|
|
ANSIBLE_TOPOLOGY = {"domain":"prole.org","realm":"PROLE.ORG","internal_records":{"aventage.prole.org":"10.0.0.206","fairyland.prole.org":"10.0.0.208","loghost.prole.org":"10.0.0.3","morana.prole.org":"10.0.0.66","morgoth.prole.org":"10.0.0.204","myrddin.prole.org":"10.0.0.3","pi.prole.org":"10.0.0.5","raspberry.prole.org":"10.0.0.4","retropie.prole.org":"10.0.0.207","synology.prole.org":"10.0.0.203","zinfandel.prole.org":"10.0.0.205"},"ad_dc":{"host":"myrddin.prole.org","ip":"10.0.0.3"},"k3s":{"server_url":"https://myrddin.prole.org:6443","server_host":"myrddin.prole.org","token_present":true},"groups":{"iscsi":["pi.prole.org","raspberry.prole.org","myrddin.prole.org","retropie.prole.org"],"pihole":["pi.prole.org","raspberry.prole.org"],"ad_dc":["myrddin.prole.org"],"k3s_hosts":["myrddin.prole.org","pi.prole.org","retropie.prole.org"],"linux_hosts":["pi.prole.org","raspberry.prole.org","myrddin.prole.org","retropie.prole.org"]},"hosts":{"myrddin.prole.org":"10.0.0.3","pi.prole.org":"10.0.0.5","raspberry.prole.org":"10.0.0.4","retropie.prole.org":"10.0.0.207"},"unmapped_hosts":[]}
|
|
KDC_ANSIBLE_DETECTED = 10.0.0.3
|
|
KDC_AUTO_DETECTED = 10.0.0.3
|
|
KERBEROS_AUTO_ENABLED = True
|
|
|
|
[Port Forwards]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[System Environment]
|
|
PROLE_CONF = ${PROLE_CONF}
|
|
PROLE_DATA = ${PROLE_DATA}
|
|
PROLE_HOME = ${PROLE_HOME}
|
|
PROLE_LOGS = ${PROLE_LOGS}
|
|
PROLE_SERVICE = ${PROLE_SERVICE}
|
|
|
|
[Monitoring]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Kerberos Authentication]
|
|
AD_PORT_FORWARD = 1
|
|
AD_PROXY_HOST_NETWORK = 1
|
|
AD_PROXY_IMAGE = alpine/socat
|
|
AD_PROXY_SERVICE = prole-kerberos-ad-dc
|
|
AD_TCP_PORTS = 88 389 445 464 636
|
|
AD_UDP_PORTS = 88 464
|
|
ENABLED = True
|
|
KDC = 10.0.0.3
|
|
PASSWORD = ${OPENBAO:kv/prole/${NAMESPACE}/kerberos#password}
|
|
REALM = PROLE.ORG
|
|
SERVER = 10.0.0.3
|
|
USER = chrisfu
|
|
|
|
[Ollama]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Optional Features]
|
|
AT_REST_ENCRYPTION_ENABLED = True
|
|
GITOPS_ENABLED = False
|
|
KERBEROS_ENABLED = True
|
|
SUPABASE_ENABLED = False
|
|
|
|
[GitOps]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Database Creation]
|
|
NAMESPACE = ${NAMESPACE}
|
|
|
|
[Initialize Cluster]
|
|
ENVIRONMENT = service
|
|
K3S_SERVER_URL = https://myrddin.prole.org:6443
|
|
K3S_TOKEN = ${OPENBAO:REDACTED}
|
|
|
|
[Dev Cluster (k3d)]
|
|
CLUSTER_ENV = dev
|
|
DISPLAY_NAME = prole-dev-cluster
|
|
KUBECTL_CONTEXT = prole-k3s
|
|
MODE = k3d
|
|
|
|
[Service Cluster (k3s)]
|
|
CLUSTER_ENV = prole-service-cluster
|
|
DISPLAY_NAME = prole-service-cluster
|
|
K3S_SERVER_URL = https://myrddin.prole.org:6443
|
|
K3S_TOKEN = ${OPENBAO:REDACTED}
|
|
MODE = k3s
|
|
PIPELINE_URL = http://127.0.0.1:8080
|
|
|
|
[Prod Cluster (k8s)]
|
|
ARTIFACTS_DIR = /Users/chrisfu/dev/prole/data/staging
|
|
CLUSTER_ENV = prole-prod-cluster
|
|
DISPLAY_NAME = prole-prod-cluster
|
|
MODE = k8s
|
|
PIPELINE_URL = http://127.0.0.1:8080
|
|
|
|
[Docker Build]
|
|
LOCAL_REGISTRY = localhost:5000
|
|
LOCAL_REGISTRY_INTERNAL = k3d-prole-registry.localhost:5000
|
|
|
|
[Initialization Scripts]
|
|
; No configuration values captured yet for this section.
|
|
|
|
[Deployment]
|
|
MODE = k3s
|
|
TARGET = prole-service-cluster
|
|
|
|
[Install]
|
|
; No configuration values captured yet for this section.
|