v1.0.1
Patch release focused on packaging, documentation, tests, and CI hardening since v1.0.0.
Fixes
- Authentication error reporting — failed login errors now include the target URL, making Supervisor or guest-cluster authentication failures easier to diagnose.
- Deferred close handling — response-body and connection close errors are now handled without overwriting more meaningful existing errors.
- Client initialization cleanup — client construction was streamlined internally by introducing a shared initialization path.
- Guest cluster endpoint handling cleanup — redundant TLS config assignment was removed during guest-cluster client setup.
Documentation
- pkg.go.dev documentation — added package-level GoDoc for
pkg/clientandpkg/k8s_utils. - pkg.go.dev examples — added rendered example functions for:
- Supervisor authentication
- Guest cluster authentication
- kubeconfig generation from
rest.Config
- README improvements — added badges and refreshed package-facing documentation.
Tests
- Comprehensive client tests — expanded coverage for authentication flows, kubeconfig generation, token helpers, TLS behavior, and HTTP client lifecycle.
- Utility package tests — added dedicated tests for the extracted kubeconfig helper package.
Internal/package changes
- Kubeconfig helper extraction —
ConvertRESTConfigToKubeconfigwas moved out ofpkg/clientinto the newpkg/k8s_utilspackage.
CI / supply chain
- golangci-lint workflow — added a dedicated lint and test workflow.
- SBOM workflow updates — improved software bill of materials generation in the scan pipeline.
- Go toolchain workflow hardening — CI was updated to avoid mixed-toolchain cache issues during lint and test runs.
Breaking changes
ConvertRESTConfigToKubeconfigis now provided bypkg/k8s_utilsinstead ofpkg/client. Update imports accordingly if you were calling this helper directly.