File tree Expand file tree Collapse file tree 7 files changed +62
-98
lines changed
Expand file tree Collapse file tree 7 files changed +62
-98
lines changed Original file line number Diff line number Diff line change 77 "installTerraformDocs" : true
88 },
99 "ghcr.io/dhoeric/features/trivy:1" : {},
10- "ghcr.io/devcontainers-contrib/features/argo-cd:1" : {}
10+ "ghcr.io/devcontainers-contrib/features/argo-cd:1" : {},
11+ "ghcr.io/devcontainers-extra/features/gh-release:1" : {
12+ "repo" : " vitobotta/hetzner-k3s" ,
13+ "binaryNames" : " hetzner-k3s"
14+ }
1115 },
1216 "customizations" : {
1317 "vscode" : {
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ CLUSTER ?= dev
16+ CLUSTER_ROOT = ./clusters
17+ OUTPUT_FILE ?= /tmp/config.yaml
18+
1519cruft-update :
1620ifeq (,$(wildcard .cruft.json) )
1721 @echo "Cruft not configured"
1822else
1923 @cruft check || cruft update --skip-apply-ask --refresh-private-variables
2024endif
2125.PHONY : cruft-update
26+
27+ generate-config :
28+ @yq ' . *= load("${CLUSTER_ROOT}/${CLUSTER}.yaml")' ${CLUSTER_ROOT} /common.yaml > ${OUTPUT_FILE}
29+ .PHONY : generate-config
Original file line number Diff line number Diff line change 1+ kubeconfig_path : " ~/.kube/config"
2+ k3s_version : v1.31.3+k3s1
3+
4+ networking :
5+ ssh :
6+ port : 2244
7+ use_agent : false
8+ public_key_path : " ~/.ssh/homelab.pub"
9+ private_key_path : " ~/.ssh/homelab"
10+ allowed_networks :
11+ ssh :
12+ - 0.0.0.0/0
13+ api :
14+ - 0.0.0.0/0
15+ public_network :
16+ ipv4 : true
17+ ipv6 : true
18+ private_network :
19+ enabled : true
20+ subnet : 10.0.0.0/16
21+ cni :
22+ enabled : true
23+ encryption : true
24+ mode : cilium
25+
26+ datastore :
27+ mode : etcd
28+
29+ schedule_workloads_on_masters : true
30+
31+ image : ubuntu-24.04
32+
33+ masters_pool :
34+ instance_type : cx32
35+ instance_count : 3
36+ location : nbg1
37+
38+ kube_cloud_controller_manager_args :
39+ networking :
40+ enabled : true
41+ env :
42+ - name : HCLOUD_LOAD_BALANCERS_ENABLED
43+ value : false
Original file line number Diff line number Diff line change 1+ cluster_name : dev
2+ networking :
3+ private_network :
4+ subnet : 10.2.0.0/16
Original file line number Diff line number Diff line change 1+ cluster_name : prod
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ networking:
33
44env :
55 HCLOUD_LOAD_BALANCERS_ENABLED :
6- value : " false"
6+ value : " false"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments