v0.3.1: Fix Cluster CA on Deno v1.15+
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.