core-auth: use k8s internal service address for hydra-admin
diff --git a/core/auth/ui/hydra.go b/core/auth/ui/hydra.go
index 8775d9e..12cabf0 100644
--- a/core/auth/ui/hydra.go
+++ b/core/auth/ui/hydra.go
@@ -2,7 +2,7 @@
import (
"bytes"
- "crypto/tls"
+ // "crypto/tls"
"encoding/json"
"errors"
"fmt"
@@ -21,9 +21,9 @@
return &HydraClient{
// TODO(giolekva): trust selfsigned-root-ca automatically on pods
&http.Client{
- Transport: &http.Transport{
- TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
- },
+ // Transport: &http.Transport{
+ // TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
+ // },
},
host,
}