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

Feature Request: Kubernetes provider #12343

Closed
vise890 opened this issue Mar 1, 2017 · 7 comments
Closed

Feature Request: Kubernetes provider #12343

vise890 opened this issue Mar 1, 2017 · 7 comments

Comments

@vise890
Copy link

vise890 commented Mar 1, 2017

After terraforming things like a "google_service_account", it would be great to terraform k8s Secrets or ConfigMaps containing the details. This, in conjunction with #12342 would pretty much eliminate the need for glue bash scripts.

@radeksimko
Copy link
Member

Hi @vise890
I'm currently working on the K8S provider and aim to submit PR very soon with first resources and more to follow.

I'll keep you posted here.

@radeksimko radeksimko self-assigned this Mar 1, 2017
@vise890
Copy link
Author

vise890 commented Mar 2, 2017

sweet :)

@radeksimko
Copy link
Member

It doesn't include the resources you mentioned but feedback is welcomed for the initial PR: #12372

@radeksimko
Copy link
Member

Hi @vise890,
the K8S provider + kubernetes_namespace was just merged and here is kubernetes_config_map: #12753

Feel free to chime in with any feedback on the merged provider or the new resource.

@vise890
Copy link
Author

vise890 commented Mar 21, 2017

Awesome work @radeksimko !

I had a look at the kubernetes_config_map PR and it also looks great;

I was gonna try my hand at building a resource for a k8s Secret and I reckon it'd be extremely similar to what you have in the ConfigMap one; to the point where it'd probably be mostly a copy paste job.... Would you mind me doing that? I completely understand if you want to do it, since you put in all the work!

@vise890 vise890 closed this as completed Mar 21, 2017
@radeksimko
Copy link
Member

Feel free to pick up secret. I'm currently working on PVs and PVCs, then probably moving onto Pods.

One important thing to keep in mind is that we'll have to use PATCH for updating all K8S resources, instead of the standard 1-for-1 update. See #12945 for more details.

Also feel free to leverage https://github.com/radeksimko/terraform-gen for the initial work, I will soon add support for generating PatchOperations too.

@ghost
Copy link

ghost commented Apr 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants