prole/env.sh
chrisfu 1892e137c1 feat(infra): replace GitLab with Gitea on git.prole.org
- Remove GitLab hostname/storage config from k3s.cfg; GitLab is gone.
- Update GITEA_HOSTNAME git-internal → git.prole.org
- Fix MONITORING_STORAGE_CLASS local-path → merlin-local-iscsi-prometheus
- Kong: route git.prole.org → gitea-http.gitea:3000
- Add svc-knoe-ingress.yaml as source-of-truth for the prole ingress (was
  missing; live object named svc-knoe-ingress, routes git.prole.org through
  Traefik → Kong → Gitea)
- DNS: add git.prole.org A record → 73.15.20.166 (public front-door)
- monitoring/kps-values-k3s.yaml: fix storage class for Prometheus/Alertmanager

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 01:25:32 -04:00

29 lines
955 B
Bash
Executable File

#!/usr/bin/env bash
# Knoe environment configuration
# This file is generated by the installer. Source it in new shells, or execute as a wrapper:
# "$KNOE_HOME/env.sh" <command> [args…]
# shellcheck shell=bash
export KNOE_HOME="$HOME/dev/prole"
export KNOE_CONF="$KNOE_HOME/conf"
export PROLE_DATA="$KNOE_HOME/data"
export PROLE_LOGS="$KNOE_HOME/logs"
export KNOE_SERVICE="$KNOE_HOME/etc"
# Ensure PATH works for GUI-launched shells (Docker, etc.)
_knoe_add_path() { case ":${PATH}:" in *":$1:"*) ;; *) PATH="$1:${PATH:-}" ;; esac; }
_knoe_add_path "$KNOE_HOME/bin"
_knoe_add_path "/opt/homebrew/bin"
_knoe_add_path "/usr/local/bin"
_knoe_add_path "/usr/bin"
_knoe_add_path "/bin"
_knoe_add_path "/usr/sbin"
_knoe_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