You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add GetKubeConfigWithExpiry (#334)
* Add expiry_seconds assert in test (#334)
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
The
/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig
endpoint supports anexpiry_seconds
query paramater:https://developers.digitalocean.com/documentation/v2/#retrieve-the-kubeconfig-for-a-kubernetes-cluster
godo does not currently support passing that parameter:
godo/kubernetes.go
Line 516 in b6eed88
In order to keep the API stable for callers of the existing method, a new method should be added (e.g.
GetKubeConfigWithExpiry
).This is to enable a
doctl
feature request. Adding here to track the needed work all the way through. See: digitalocean/doctl#791The text was updated successfully, but these errors were encountered: