From f96df3b8fd24c26cfc4432ff4400226099907888 Mon Sep 17 00:00:00 2001 From: Charles Moulliard Date: Wed, 29 May 2019 10:34:31 +0200 Subject: [PATCH] Uncomment email and ApiSecretRef Signed-off-by: Charles Moulliard --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 85aeac9..0f65041 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "github.com/jetstack/cert-manager/pkg/acme/webhook/apis/acme/v1alpha1" "github.com/jetstack/cert-manager/pkg/acme/webhook/cmd" + certmanagerv1 "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1alpha1" ) var GroupName = os.Getenv("GROUP_NAME") @@ -64,8 +65,8 @@ type customDNSProviderConfig struct { // These fields will be set by users in the // `issuer.spec.acme.dns01.providers.webhook.config` field. - //Email string `json:"email"` - //APIKeySecretRef v1alpha1.SecretKeySelector `json:"apiKeySecretRef"` + Email string `json:"email"` + APIKeySecretRef certmanagerv1.SecretKeySelector `json:"apiKeySecretRef"` } // Name is used as the name for this DNS solver when referencing it on the ACME