mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:04:31 +00:00
38 lines
1000 B
YAML
38 lines
1000 B
YAML
iscsi_portal: 10.0.0.203
|
|
|
|
iscsi_targets:
|
|
# PROLE-K3S-1
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-14.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /var/lib/rancher
|
|
fstype: ext4
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=466eefa2-9a7c-4bac-a136-d1d3ec35dae1"
|
|
|
|
# PROLE-PI-2
|
|
- iqn: "iqn.2000-01.com.synology:synology.Target-19.292d45194a1"
|
|
chap_user: "prole"
|
|
chap_password: "{{ vault_iscsi_prole_password }}"
|
|
mounts:
|
|
- path: /var/log/pihole
|
|
fstype: ext4
|
|
opts: "_netdev,noatime"
|
|
src: "UUID=56b21ec3-2826-4171-b909-a6715223f9a4"
|
|
|
|
k3s_role: server
|
|
k3s_cluster_init: true
|
|
|
|
k3s_server_url: "https://pi.prole.org:6443"
|
|
k3s_token: "{{ vault_k3s_token }}" # store this in vault
|
|
k3s_tls_sans:
|
|
- pi.prole.org
|
|
- 10.0.0.5 # pi IP if you want
|
|
k3s_node_labels:
|
|
- "role=prole-db"
|
|
- "storage=primary"
|
|
|
|
k3s_write_kubeconfig_mode: "0640"
|
|
k3s_kubeconfig_group: kubeadm
|