The kubernetes_manifest resource supports the ability to block create and update calls until a field is set or has a particular value by specifying the wait_for attribute. Resource "kubernetes_manifest " "test-crd " Using wait_for to block create and update calls Create a Kubernetes ConfigMapĬonfig_path = "~/.kube/config " // path to kubeconfig Don't forget to run terraform init in your Terraform configuration directory to allow Terraform to detect the provider plugin. You can find the following examples and more in our examples folder. Once you have the plugin installed, review the usage document in the docs folder to understand which configuration options are available. Otherwise, start by installing the latest release from the Terraform registry. If this is your first time here, you can get an overview of the provider by reading our introductory blog post. However, this work is subject to signficant changes as we iterate towards that level of quality. Our eventual goal is for this generic resource to become a part of our official Kubernetes provider once it is supported by the Terraform Plugin SDK. Please file issues generously and detail your experience while using the provider. For this reason, please do not rely on this provider for production use while we strive towards project maturity. At this time, we are not planning to create a migration path for resources created with the kubernetes-alpha provider when the manifest resource is merged into the official kubernetes provider. It still requires extensive testing and polishing to mature into production-ready quality. Please regard this project as experimental. See Moving from YAML to HCL if you have YAML you want to use with the provider. This provider allows you to describe any Kubernetes resource using HCL. This Kubernetes provider for Terraform (alpha) supports all API resources in a generic fashion. Kubernetes provider for Terraform (alpha) For further details, take a look at our blog post announcing this change. While the kubernetes-alpha provider will continue to be downloadable from the Terraform Registry up to the last version released, we recommend migrating your configurations to use the kubernetes_manifest resource in our official Terraform provider. The kubernetes_manifest resource and associated issues has been moved to the repository for the official Terraform Provider for Kubernetes. This repository was experimental and is now archived.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |