mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +02:00
Remove non used vars. Add setUseAuthoritative(false) to avoid the error : suite.go:49: error waiting for DNS record propagation: Could not determine authoritative nameservers for cert-manager-dns01-tests.example.com.
This commit is contained in:
parent
060ffb3f2e
commit
7621c6706d
1 changed files with 1 additions and 5 deletions
|
@ -11,13 +11,8 @@ import (
|
|||
var (
|
||||
zone = os.Getenv("TEST_ZONE_NAME")
|
||||
kubeBuilderBinPath = "./_out/kubebuilder/bin"
|
||||
rfc2136TestDomain = "123456789.www.example.com"
|
||||
rfc2136TestKeyAuth = "123d=="
|
||||
rfc2136TestValue = "Now36o-3BmlB623-0c1qCIUmgWVVmDJb88KGl24pqpo"
|
||||
rfc2136TestFqdn = "_acme-challenge.123456789.www.example.com."
|
||||
rfc2136TestZone = "example.com."
|
||||
rfc2136TestTsigKeyName = "example.com."
|
||||
rfc2136TestTTL = 60
|
||||
rfc2136TestTsigSecret = "IwBTJx9wrDp4Y1RyC3H0gA=="
|
||||
)
|
||||
|
||||
|
@ -45,6 +40,7 @@ func TestRunsSuite(t *testing.T) {
|
|||
dns.SetDNSServer(server.ListenAddr()),
|
||||
dns.SetAllowAmbientCredentials(false),
|
||||
dns.SetManifestPath("testdata/my-custom-solver"),
|
||||
dns.SetUseAuthoritative(false),
|
||||
)
|
||||
|
||||
fixture.RunConformance(t)
|
||||
|
|
Loading…
Reference in a new issue