mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 18:14:31 +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.
20 lines
488 B
Django/Jinja
20 lines
488 B
Django/Jinja
apiVersion: v1
|
|
kind: Config
|
|
{% set server = (k3s_server_url | default('') | length > 0) | ternary(k3s_server_url, 'https://' ~ inventory_hostname ~ ':6443') %}
|
|
{% set token = prole_port_forward_token | default(k3s_token) %}
|
|
clusters:
|
|
- cluster:
|
|
server: {{ server }}
|
|
insecure-skip-tls-verify: true
|
|
name: prole-k3s
|
|
contexts:
|
|
- context:
|
|
cluster: prole-k3s
|
|
user: prole-k3s
|
|
name: prole-k3s
|
|
current-context: prole-k3s
|
|
users:
|
|
- name: prole-k3s
|
|
user:
|
|
token: {{ token }}
|