imroc / cert-manager-webhook-dnspod

cert-manager webhook resolver for DNSPod
Apache License 2.0
51 stars 19 forks source link

Wrong type of secretId was set in clusterissuers.cert-manager.io/dnspod config #7

Open CornWorld opened 2 years ago

CornWorld commented 2 years ago

I followed the steps in https://imroc.cc/k8s/trick/cert-manager-webhook-dnspod/ , but got an error below.

error decoding solver config: json: cannot unmarshal number into Go struct field customDNSProviderConfig.secretId of type string

And found the value of secretId in clusterissuers.cert-manager.io/dnspod is not a string type.

imroc commented 2 years ago

一直是 string,正常情况不会报错。具体 ClusterIssuer 的 yaml 以及 webhook 的 deployment yaml 是什么?

scjtqs2 commented 2 years ago

I followed the steps in https://imroc.cc/k8s/trick/cert-manager-webhook-dnspod/ , but got an error below.

error decoding solver config: json: cannot unmarshal number into Go struct field customDNSProviderConfig.secretId of type string

And found the value of secretId in clusterissuers.cert-manager.io/dnspod is not a string type.

我也遇到了这个问题,不过最后发现问题了。这里的secretid 和secretkey 是腾讯云(qcloud.com)的 。不能用dnspod的 appid和 token。

CornWorld commented 2 years ago

I followed the steps in https://imroc.cc/k8s/trick/cert-manager-webhook-dnspod/ , but got an error below.

error decoding solver config: json: cannot unmarshal number into Go struct field customDNSProviderConfig.secretId of type string

And found the value of secretId in clusterissuers.cert-manager.io/dnspod is not a string type.

我也遇到了这个问题,不过最后发现问题了。这里的secretid 和secretkey 是腾讯云(qcloud.com)的 。不能用dnspod的 appid和 token。

我当时的确使用了腾讯云的密钥,只是生成 yaml 的时候类型错误了