mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:04:31 +00:00
- install.py: Major update including configuration variable expansion, improved k3s/k3d handling, and enhanced installation logic. - etc/ scripts: Significant refactoring of initialization scripts (Kerberos, Port Forwards, Garage Store, etc.). - Port Forwards: Transitioned from XML to port-mappings.conf for managing kubectl port-forwards. - Status Reporting: Improved status checking for common services. - Infrastructure: Updated Ansible inventory and rsyslog role configurations. - Tests: Added a comprehensive suite of tests for 'etc' initialization scripts in prole/tests/etc/. - Documentation: Added prole-db-documentation-mcp-architecture.md. - General: Updated Dockerfiles and various helper scripts.
85 lines
2.3 KiB
YAML
85 lines
2.3 KiB
YAML
iscsi_portal: 10.0.0.203
|
|
|
|
iscsi_targets:
|
|
# PROLE-DB-1
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-11.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /prole/d001
|
|
fstype: xfs
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=c07dc0f2-cf60-4da5-b68e-ea45e86d473e"
|
|
|
|
# PROLE-DB-2
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-12.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /prole/d002
|
|
fstype: xfs
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=fe087fb0-a321-4767-b838-b4385e81693e"
|
|
|
|
# PROLE-DB-3
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-13.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /prole/d003
|
|
fstype: xfs
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=757f1ee4-dc23-414b-b595-e3058c0744f0"
|
|
|
|
# PROLE-HOME
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-17.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /prole/home
|
|
fstype: ext4
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=607718c8-467a-474f-8e36-80ceafe1beb4"
|
|
|
|
# PROLE-LOGS
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-1.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: "{{ prole_logs_dir }}"
|
|
fstype: ext4
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=5335affd-b1ab-4134-a1c0-be88ab965309"
|
|
|
|
# PROLE-K3S
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-15.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /var/lib/rancher
|
|
fstype: ext4
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=c8320979-d3eb-4b40-93e0-ee452a4b9780"
|
|
|
|
ad_dc_enabled: true
|
|
|
|
k3s_enabled: true
|
|
k3s_cluster_init: true
|
|
k3s_role: server
|
|
k3s_token: "{{ vault_k3s_token }}" # store this in vault
|
|
k3s_tls_sans:
|
|
- myrddin.prole.org
|
|
k3s_node_labels:
|
|
- "storage=primary"
|
|
|
|
k3s_write_kubeconfig_mode: "0640"
|
|
k3s_kubeconfig_group: kubeadm
|
|
k3s_kubeconfig_users:
|
|
- pi
|
|
|
|
k3s_required_mounts:
|
|
- /prole/d001
|
|
- /prole/d002
|
|
- /prole/d003
|
|
- "{{ prole_logs_dir }}"
|