# Kubernetes Base Template (REAL from wuji)
# Extracted from wuji production: /workspace/infra/wuji/taskservs/kubernetes.k

import taskservs.kubernetes.kcl.kubernetes as kubernetes

# Real wuji Kubernetes configuration
_kubernetes_taskserv = kubernetes.Kubernetes {
    major_version = "1.30"
    version = "1.30.3"
    cri = "crio"                        # REAL: wuji uses crio, not containerd
    runtime_default = "crun"            # REAL: default runtime
    runtimes = "crun,runc,youki"        # REAL: multiple runtime support
    cni = "cilium"                      # REAL: CNI choice
    cni_version = "v0.16.11"           # REAL: specific version
    addons = ""                         # REAL: no addons by default
    external_ips = []                   # REAL: empty by default
    cluster_name = "wuji"               # REAL: cluster name
    hostname = "{{hostname}}"           # REAL: templated
    cp_ip = "10.11.2.20"               # REAL: control plane IP
    cp_name = "wuji-cp-0"              # REAL: control plane name
    ip = "{{network_private_ip}}"       # REAL: templated IP
    mode = "worker"                     # REAL: default mode
    cmd_task = "install"                # REAL: command task
    admin_user = "devadm"               # REAL: admin user
    target_path = "HOME/lab_kubeconfig" # REAL: kubeconfig path
}

_kubernetes_taskserv
