skipping API object, kind not supported by Terraform provider. kind=ValidatingWebhookConfiguration
jcreager opened this issue · 2 comments
jcreager commented
Thank you for this very useful tool.
I observed an issue where this tool will not convert ValidatingWebhookConfiguration
objects.
Version:
k2tf --version
k2tf version: 0.4.1
Steps to reproduce:
- Run the following command to convert the manifests files for Kubernetes
ingress-nginx
.
wget -qO- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.34.1/deploy/static/provider/cloud/deploy.yaml | k2tf
Expected result:
k2tf will convert yaml manifest for ValidatingWebhookConfiguration object to HCL.
Actual result:
3:21PM Warn | skipping API object, kind not supported by Terraform provider. kind=ValidatingWebhookConfiguration
Other info:
According to the current TF docs, ValidatingWebhookConfiguration (kubernetes_validating_webhook_configuration) is supported. https://www.terraform.io/docs/providers/kubernetes/r/validating_webhook_configuration.html
Let me know if I can provide any additional info. Thanks!
sl1pm4t commented
Hi @jcreager this should be fixed in the latest release.
https://github.com/sl1pm4t/k2tf/releases/tag/v0.5.0