refactor(k3s): enhance cluster setup and enable ArgoCD apps

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-07-22 07:23:09 +02:00
parent e1a2248154
commit 976cad51e2
38 changed files with 401 additions and 234 deletions

View File

@@ -1,11 +1,11 @@
$ANSIBLE_VAULT;1.1;AES256
62386434633264613939616264613563656365363664343761333233393933323264646330323637
6565323739323834626331373539323730376538323635620a356338616537393835613834633036
65333533646465383964363664616338316565613131336339643432656564363034663662376137
6366633766366234360a643138396636616362383364666166323965643831363563343164343164
38633165323935643463613939363633623131306234333863366538376363346563656263616263
33333533376534663561303733613364376266366634616361363330333230626364653035353834
38343033633130393166353965646635303738666562643138653435316230613131323862623264
32393462363738666538613539393162613061343062643036643937336133663132303162323331
38623530393531333037376535623133656238656339666361646230353438343961353333343064
3261306235386331333063346433393534626362323731366362
36666266313661333466623135393337366266366135643630663632653035383365393137386636
3462613661396661643733383663386239353238333066650a346334616636376137373866383431
34633734306565333463343230333561633435306564353833613632653531376435363465323237
3462343537373362320a386434633737373535313866393334353239373661393837646637336638
30373364666661373864613136623632333961633134633163333464656131333464323039653432
64383866663935396231356265396334663532376439663335363563326637313730323437363836
65383930646266636261383037613266613238623964633063666266386134313165396336373934
30376433663332316537373466643130656536356439323261643839636537383539646434646665
64376530383832343263303333383435663133363562626638373331663037306462656233316431
6334663737316633613438623762333038663230626133393239

View File

@@ -3,6 +3,7 @@ k3s:
default_port: 6443
k3s_primary_server_ip: "{{ groups['k3s_server'] | map('extract', hostvars, 'ansible_default_ipv4') | map(attribute='address') | unique | list | first }}"
k3s_server_ips: "{{ groups['k3s_server'] | map('extract', hostvars, 'ansible_default_ipv4') | map(attribute='address') | unique | list }}"
k3s_server_name: "k3s.{{ internal_domain }}"
k3s_cluster_name: homelab