mirror of
https://github.com/outbackdingo/terraform-kamaji-node-pool.git
synced 2026-01-27 10:20:31 +00:00
1006 B
1006 B
Bootstrap Token Module
Generates Kubernetes bootstrap tokens for joining worker nodes to Kamaji tenant clusters.
Usage
module "bootstrap_token" {
source = "../../modules/bootstrap-token"
kubeconfig_path = "~/.kube/tenant-cluster.kubeconfig"
yaki_url = "https://goyaki.clastix.io" # optional
}
Variables
| Variable | Type | Default | Description |
|---|---|---|---|
kubeconfig_path |
string |
"~/.kube/config" |
Path to kubeconfig file |
yaki_url |
string |
"https://goyaki.clastix.io" |
YAKI bootstrap script URL |
Outputs
join_cmd- Complete join command for nodestoken_id- Bootstrap token IDtoken_secret- Bootstrap token secretca_cert_hash- CA certificate hashcluster_endpoint- Kubernetes API server endpointyaki_url- YAKI bootstrap script URLkubeconfig_path- Path to kubeconfig filetoken_ttl- Token time-to-livetoken_usage- Token usage description