mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
- Introduced `knoe.core.prod_config` with production configuration schema and helper methods. - Added validation logic to enforce required fields and expected formats. - Implemented in-process API (`ProdConfigApi`) for managing production configs. - Added test coverage for default config behavior, validation, YAML generation, and API workflow. - Updated cluster UI layout and tests to integrate production config with new navigation flows. - Added host inventory and updated service flow to reflect production setup changes.
38 lines
958 B
YAML
38 lines
958 B
YAML
---
|
|
hostname: gandalf
|
|
fqdn: gandalf.prole.org
|
|
ansible_host: 10.0.0.7
|
|
ansible_user: ansible
|
|
|
|
k3s_enabled: true
|
|
k3s_role: agent
|
|
k3s_cluster_init: false
|
|
k3s_server_url: "https://myrddin.prole.org:6443"
|
|
|
|
k3s_service_node_labels:
|
|
- "prole.org/node-role=general"
|
|
k3s_node_taints: []
|
|
|
|
k3s_rancher_mount_required: true
|
|
k3s_rancher_mount_src: /external/rancher
|
|
k3s_rancher_mount_fstype: none
|
|
k3s_rancher_mount_opts: bind
|
|
k3s_rancher_mount_passno: 0
|
|
|
|
k3s_required_mounts:
|
|
- /var/lib/rancher
|
|
- /synology/d005
|
|
|
|
iscsi_portal: 10.0.0.203:3260
|
|
|
|
iscsi_targets:
|
|
# PROLE-DATA-5
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-14.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- name: d005
|
|
path: /synology/d005
|
|
device: /dev/disk/by-path/ip-10.0.0.203:3260-iscsi-iqn.2000-01.com.synology:synology.Target-14.292d45194a1-lun-1-part1
|
|
fstype: ext4
|
|
opts: "_netdev,noatime,nofail" |