to be squashed
This commit is contained in:
parent
515ba49c84
commit
dc1c99ad3f
5
main.go
5
main.go
@ -101,8 +101,11 @@ func (c *customDNSProviderSolver) Present(ch *v1alpha1.ChallengeRequest) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("Unable to get secret `%s/%s`; %v", secretName, ch.ResourceNamespace, err)
|
||||
}
|
||||
fmt.Printf( "%v", secretObj )
|
||||
|
||||
username := string(secretObj.Data["username"])
|
||||
password := string(secretObj.Data["password"])
|
||||
|
||||
fmt.Printf("Domain: %s, Auth: %s %s", cfg.Domain, username, password)
|
||||
|
||||
// TODO: add code that sets a record in the DNS provider's console
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user