Uncomment email and ApiSecretRef

Signed-off-by: Charles Moulliard <cmoulliard@redhat.com>
This commit is contained in:
Charles Moulliard 2019-05-29 10:34:31 +02:00
parent 9b4aa49de2
commit f96df3b8fd

View file

@ -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