Решение ошибки mkdir -p

This commit is contained in:
3 changed files with 75 additions and 39 deletions

View File

@@ -1,27 +1,27 @@
# K3s Server Configuration
server_ip = "reg.benadis.org" # Replace with your server IP
worker_ips = [ # Replace with your worker IPs
"worker1.benadis.org",
worker_ips = [ # Replace with your worker IPs
# "worker1.benadis.org",
"worker2.benadis.org"
]
ssh_user = "root" # Replace with your SSH username
ssh_user = "root" # Replace with your SSH username
ssh_private_key = "~/.ssh/id_rsa" # Path to your private SSH key
replace_url = "reg.benadis.org" # Optional: URL to replace in kubeconfig, leave empty to use server_ip
# Cluster Configuration
domain = "reg.benadis.org" # Your domain name
k3s_version = "latest" # K3s version to install
k3s_channel = "stable" # K3s release channel
kubeconfig_path = "./k3s.yaml" # Where to save kubeconfig
domain = "reg.benadis.org" # Your domain name
k3s_version = "v1.32.3+k3s1" # K3s version to install
k3s_channel = "stable" # K3s release channel
kubeconfig_path = "./k3s.yaml" # Where to save kubeconfig
node_token_path = "./tmp/node-token" # Where to save node token
# Optional Features
enable_traefik_dashboard = false # Enable Traefik dashboard
enable_ssl = false # Enable SSL
ssl_cert_path = "~/.tls/wildcard.benadis.org.crt" # Path to SSL certificate
ssl_key_path = "~/.tls/wildcard.benadis.org.key" # Path to SSL key
install_argocd = false # Install ArgoCD
enable_ssh_tunnel = false # Enable SSH tunneling
enable_traefik_dashboard = false # Enable Traefik dashboard
enable_ssl = false # Enable SSL
ssl_cert_path = "~/.tls/wildcard.benadis.org.crt" # Path to SSL certificate
ssl_key_path = "~/.tls/wildcard.benadis.org.key" # Path to SSL key
install_argocd = false # Install ArgoCD
enable_ssh_tunnel = false # Enable SSH tunneling
# Advanced Configuration
k3s_extra_server_args = "" # Extra args for K3s server

View File

@@ -35,7 +35,7 @@ variable "domain" {
variable "k3s_version" {
description = "Version of K3s to install"
type = string
default = "v1.27.3+k3s1"
default = "v1.32.3+k3s1"
}
variable "k3s_channel" {
@@ -47,7 +47,7 @@ variable "k3s_channel" {
variable "kubeconfig_path" {
description = "Path where to save the kubeconfig file locally"
type = string
default = "~/.kube/config"
default = "./k3s.yaml"
}
variable "node_token_path" {