terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
Kubernetes Server Version data
Description
Get the server version of Kubernetes as a data object. It would be useful in cases in which someone needs to create resources depending on the kubernetes version (e.g., deprecated resources removed in a future k8s version).
Potential Terraform Configuration
Example:
data "kubernetes_server_version" "cluster_name" { }
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
We have a function that would help in implementing this data source
@BBBmau I gave this one a poke as a foray into golang and have something that works locally but can't push the branch. What's the recommended path here?
@BBBmau I gave this one a poke as a foray into golang and have something that works locally but can't push the branch. What's the recommended path here?
Hello! Are you attempting to push to a branch that you made from a cloned repo? You'll need to fork it and make the changes on your forked repo then from there make a PR for us to review.
Here is the PR for this feature https://github.com/hashicorp/terraform-provider-kubernetes/pull/2306
Closed from merging this PR: https://github.com/hashicorp/terraform-provider-kubernetes/pull/2306