Add --tls-sans flag to k3kcli (#925)

* Add --tls-sans flag to k3kcli cluster create

* Refine --tls-sans flag description in k3kcli documentation

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix TLS SANs handling in cluster creation by using hostname directly

* Implement extractHost function and update TLS SAN handling in cluster creation

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Enrico Candino
2026-07-02 13:23:13 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI lnx01
parent 7879a7679d
commit 7f2cf6fe98
6 changed files with 126 additions and 6 deletions
+1
View File
@@ -65,6 +65,7 @@ k3kcli cluster create [command options] NAME
--storage-class-name string storage class name for dynamic persistence type
--storage-request-size string storage size for dynamic persistence type
--timeout duration The timeout for waiting for the cluster to become ready (e.g., 10s, 5m, 1h). (default 3m0s)
--tls-sans strings additional Subject Alternative Names for the cluster server TLS certificate
--token string token of the cluster
--version string k3s version
----
+1
View File
@@ -36,6 +36,7 @@ k3kcli cluster create [command options] NAME
--storage-class-name string storage class name for dynamic persistence type
--storage-request-size string storage size for dynamic persistence type
--timeout duration The timeout for waiting for the cluster to become ready (e.g., 10s, 5m, 1h). (default 3m0s)
--tls-sans strings additional Subject Alternative Names for the cluster server TLS certificate
--token string token of the cluster
--version string k3s version
```