Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes Server Version data #2196

Open
framctr opened this issue Jul 19, 2023 · 4 comments
Open

Kubernetes Server Version data #2196

framctr opened this issue Jul 19, 2023 · 4 comments

Comments

@framctr
Copy link

framctr commented Jul 19, 2023

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
@BBBmau
Copy link
Contributor

BBBmau commented Jul 19, 2023

We have a function that would help in implementing this data source

@torqu3e
Copy link

torqu3e commented Sep 27, 2023

@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
Copy link
Contributor

BBBmau commented Sep 28, 2023

@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.

@daemon4d-us
Copy link
Contributor

Here is the PR for this feature #2306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants