Skip to content

v0.3.1: Fix Cluster CA on Deno v1.15+

Compare
Choose a tag to compare
@danopia danopia released this 27 Nov 14:59
· 35 commits to main since this release
2ba9a5c

Fix cluster certificate authority setup in KubeConfigRestClient on Deno v1.15.0 and later.

In Deno v1.15, the API for adding extra certificate authorities was replaced with a new Array field, which newly allows adding extra certificate authorities. Upstream documentation on the change can be found in the Deno 1.15 blogpost: https://deno.com/blog/v1.15#in-memory-ca-certificates

TLS-related configuration are locked behind Deno's --unstable flag, and Kubernetes loves TLS :) so using an API that can change completely on any minor release is a necessary evil for now.