mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:44:33 +00:00
- Consolidated and split initialization scripts in etc/:
- Removed init_prole-db.sh and init_authority.sh.
- Added init_kdc.sh for in-cluster MIT Kerberos KDC (prole-authority).
- Added init_ollama.sh for Ollama AI service integration.
- Added init_service_layer.sh for high-level service orchestration.
- Added init_k3s_registry.sh for private registry management.
- Major updates to install.py:
- Support for new Ollama and KDC configuration.
- Improved prole.cfg rendering and namespace handling.
- Updated unattended install flags.
- Infrastructure and Deployment:
- Updated K3s Ansible role with private registry support (registries.yaml template).
- Added prole-authority Dockerfile.
- Updated OpenBao Kerberos ConfigMap and other K8s manifests.
- Configuration:
- Updated prole.cfg with new sections for Ollama and Monitoring.
- Refined environment variable exports in env.sh and prole_cfg.sh.
30 lines
1.0 KiB
Bash
Executable File
30 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Prole environment configuration
|
|
# This file is generated by the installer. Source it in new shells, or execute as a wrapper:
|
|
# "$PROLE_HOME/env.sh" <command> [args…]
|
|
# shellcheck shell=bash
|
|
export PROLE_HOME="/Users/chrisfu/dev/prole"
|
|
export PROLE_CONF="/Users/chrisfu/dev/prole/conf"
|
|
export PROLE_DATA="/Users/chrisfu/dev/prole/data"
|
|
export PROLE_LOGS="/Users/chrisfu/dev/prole/logs"
|
|
export PROLE_SERVICE="/Users/chrisfu/dev/prole/etc"
|
|
export NAMESPACE="prole-db-a00001"
|
|
|
|
# Ensure PATH works for GUI-launched shells (Docker, etc.)
|
|
_prole_add_path() { case ":${PATH}:" in *":$1:"*) ;; *) PATH="$1:${PATH:-}" ;; esac; }
|
|
_prole_add_path "$PROLE_HOME/bin"
|
|
_prole_add_path "/opt/homebrew/bin"
|
|
_prole_add_path "/usr/local/bin"
|
|
_prole_add_path "/usr/bin"
|
|
_prole_add_path "/bin"
|
|
_prole_add_path "/usr/sbin"
|
|
_prole_add_path "/sbin"
|
|
export PATH
|
|
|
|
# Add custom paths below if needed (examples):
|
|
|
|
# If executed with arguments (and not sourced), run them under this environment
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]] && [ "$#" -gt 0 ]; then
|
|
exec "$@"
|
|
fi
|