简体   繁体   English

使用 terrafom 在 GCP 上创建证书管理器颁发者、证书的方法

[英]Way to create cert-manager issuer, certificate on GCP with terrafom

ON GKE, I tried to install cert-manager using terraform (terraform v.0.14.0)在 GKE 上,我尝试使用 terraform (terraform v.0.14.0) 安装 cert-manager

With helm, installing cert-manager worked.使用 helm,安装 cert-manager 有效。 but I couldn't find how to do next step, create issuer & certificate https://cert-manager.io/docs/installation/kubernetes/#verifying-the-installation但我找不到下一步该怎么做,创建颁发者和证书https://cert-manager.io/docs/installation/kubernetes/#verifying-the-installation

I know using kubectl apply -f RESOURCE.yaml works well, but my goal is running it using terraform, too.我知道使用kubectl apply -f RESOURCE.yaml效果很好,但我的目标是也使用 terraform 运行它。

Have anyone tried to do same things?有没有人尝试做同样的事情?

I found I could use https://github.com/gavinbunney/terraform-provider-kubectl .我发现我可以使用https://github.com/gavinbunney/terraform-provider-kubectl it worked as I expected.它按我的预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM