pulumi-kubernetes
pulumi-kubernetes copied to clipboard
Add function to query cluster's API version
Problem description
There is not currently a way in the Kubernetes SDK to query for the Kubernetes cluster's API version - e.g. 1.14, 1.15, 1.16, etc.
Suggestions for a fix
Provide a function getApiVersion()
(or more appropriately named) for users to query their cluster's API version and use as part of their application.