mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +02:00
Uncomment email and ApiSecretRef
Signed-off-by: Charles Moulliard <cmoulliard@redhat.com>
This commit is contained in:
parent
9b4aa49de2
commit
f96df3b8fd
1 changed files with 3 additions and 2 deletions
5
main.go
5
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
|
||||
|
|
Loading…
Reference in a new issue