mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 08:14:29 +00:00
- Infrastructure:
- Updated k3s Ansible role with mountpoint preflight checks and better permission management.
- Automated deployment of prole configuration and port-forwarding scripts to cluster hosts.
- Added systemd service for managing port forwards on k3s nodes.
- Added prole-installer service account token automation.
- K8s Manifests:
- Renamed and added Persistent Volumes in iscsi-pvs.yaml (including OpenBao support).
- Updated StatefulSets for garage and openbao.
- Migrated prole-db to CloudNativePG-based configuration.
- Added comprehensive OpenTofu manifests for cluster deployment.
- Configuration:
- Added cluster-specific configurations (k3d, k3s-hosts).
- Added PostgreSQL configuration templates.
- Updated .gitignore to track the conf/ directory.
- Tools:
- Updated install.py and port-forwarding scripts.
- Added render_manifest.py for manifest generation.
24 lines
676 B
Django/Jinja
24 lines
676 B
Django/Jinja
[Unit]
|
|
Description=Prole Port Forwards (k3s)
|
|
After=network-online.target k3s.service k3s-agent.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
Group=root
|
|
Environment=PROLE_HOME={{ prole_home }}
|
|
Environment=PROLE_CONF={{ prole_conf }}
|
|
Environment=PROLE_MODE=k3s
|
|
Environment=KUBECONFIG={{ prole_port_forward_kubeconfig }}
|
|
ExecStartPre=/usr/bin/test -f {{ prole_conf }}/prole.cfg
|
|
ExecStartPre=/usr/bin/test -f {{ prole_port_forward_kubeconfig }}
|
|
ExecStart={{ prole_home }}/etc/init_port_forwards.sh start
|
|
ExecStop={{ prole_home }}/etc/init_port_forwards.sh stop
|
|
RemainAfterExit=yes
|
|
TimeoutStartSec=60
|
|
TimeoutStopSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|