hashicorp / terraform-provider-kubernetes-alpha

A Terraform provider for Kubernetes that uses dynamic resource types and server-side apply. Supports all Kubernetes resources.
https://registry.terraform.io/providers/hashicorp/kubernetes-alpha/latest
Mozilla Public License 2.0
490 stars 63 forks source link

Create top 5 helm charts as terraform modules #51

Open dak1n1 opened 4 years ago

dak1n1 commented 4 years ago

Description

Now that we have the ability to create Kubernetes CRDs inside of Terraform configs, it would be useful to convert some Helm charts into Terraform modules.

This issue tracks the following:

References

Community Note

dak1n1 commented 4 years ago

Please vote on the helm charts below by leaving a :+1: reaction on the one(s) you want to see created in Terraform. You can also leave a comment specifying any other chart for the community to vote on. Thanks!

dak1n1 commented 4 years ago

Prometheus

dak1n1 commented 4 years ago

Istio

dak1n1 commented 4 years ago

Thanos

dak1n1 commented 4 years ago

Nginx-ingress

dak1n1 commented 4 years ago

Cert-manager

dak1n1 commented 4 years ago

External-DNS

dak1n1 commented 4 years ago

Traefik

ArthurSens commented 4 years ago

Linkerd

ArthurSens commented 4 years ago

Harbor

alexsomesan commented 4 years ago

@daverod24 I opened https://github.com/hashicorp/terraform-provider-kubernetes-alpha/issues/59 so we can track your issue. Going to remove the comment from here to avoid polluting this unrelated issue.

krzysztof-miemiec commented 4 years ago

Consul, Vault (I'd really like to deploy HashiCorp products with other HashiCorp products 😅)

curx commented 4 years ago

opa/gatekeeper

aareet commented 3 years ago

Here are a few module examples to try with the v0.3.0 release of the kubernetes-alpha provider. Please note that these are all initial examples and not vetted for production use.

Please give these a try and share your feedback on any provider issues you encounter by filing bugs with us, thanks!

We will soon follow-up with some instructional material on how to convert your helm charts into a terraform module for use with the kubernetes-alpha provider.

Skaronator commented 3 years ago

Q: Should we use the new manifest resource for everything or just for custom resources and continue to use the old resources like kubernetes_stateful_set, kubernetes_service etc.?

aareet commented 3 years ago

Hi @Skaronator, we recommend continuing to use the official kubernetes provider for production resources. We are still working to stabilize and mature the kubernetes-alpha provider and hope to have the manifest resource be production capable soon

MeNsaaH commented 3 years ago

What exactly are you trying to achieve here? Why not use the helm provider to install helm resources? The process involved in maintaining such modules will likely be stressful. When any update is made to the helm repo/chart, it'll have to be replicated to the terraform module. Eventually, you find out some terraform modules are not to date with what is on the chart because of the stress involved in updating this modules everytime a new change is made in the helm chart.

Kubernetes Provider has it's own use case and in my opinion, rewriting helm charts is not one of them.