Skip to content

Commit

Permalink
feat(hetzner): add k3s_join_token to the output
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Dec 25, 2024
1 parent 4a7cd66 commit 0d8f531
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/hetzner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
|------|-------------|
| <a name="output_hcloud_network_name"></a> [hcloud\_network\_name](#output\_hcloud\_network\_name) | Name of the network |
| <a name="output_k3s_cluster_cidr"></a> [k3s\_cluster\_cidr](#output\_k3s\_cluster\_cidr) | CIDR used for the k3s cluster |
| <a name="output_k3s_join_token"></a> [k3s\_join\_token](#output\_k3s\_join\_token) | Join token for k3s |
| <a name="output_kube_api_server"></a> [kube\_api\_server](#output\_kube\_api\_server) | Kubernetes API server address |
| <a name="output_kubeconfig"></a> [kubeconfig](#output\_kubeconfig) | Kubeconfig |
| <a name="output_location"></a> [location](#output\_location) | Location to use. This is a single datacentre. |
Expand Down
6 changes: 6 additions & 0 deletions modules/hetzner/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ output "hcloud_network_name" {
value = hcloud_network.network.name
}

output "k3s_join_token" {
sensitive = true
description = "Join token for k3s"
value = module.k3s.k3s_join_token
}

output "kubeconfig" {
sensitive = true
description = "Kubeconfig"
Expand Down

0 comments on commit 0d8f531

Please sign in to comment.