-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (35 loc) · 1.13 KB
/
Makefile
File metadata and controls
40 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.DEFAULT_GOAL := help
SHELL := /bin/bash
# Load .env if present — exports all variables to sub-processes
-include .env
export
# Defaults (overridable via .env or environment)
SSH_USER ?= debian
SSH_PORT ?= 22
SSH_KEY ?= $(HOME)/.ssh/id_ed25519
SSH_KEY := $(subst ~,$(HOME),$(SSH_KEY))
INITIAL_USER ?= root
MASTER_IP ?=
WORKER_IP ?=
KUBECONFIG_CONTEXT ?= k3s-lab
K3S_VERSION ?= v1.32.2+k3s1
# Root of this repo — used by run-local-script / run-remote-script in local mode
K3S_LAB := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
K3S_LAB_RAW := https://raw.githubusercontent.com/KevinDeBenedetti/k3s-lab/main
# Terminal colors
GREEN := \033[0;32m
YELLOW := \033[1;33m
CYAN := \033[0;36m
RED := \033[0;31m
RESET := \033[0m
include makefiles/00-lib.mk
include makefiles/10-help.mk
include makefiles/20-vps.mk
include makefiles/30-k3s.mk
include makefiles/40-kubeconfig.mk
include makefiles/50-deploy.mk
include makefiles/60-status.mk
include makefiles/70-ssh.mk
include makefiles/80-dev.mk
include makefiles/90-provision.mk
include makefiles/99-lima.mk