Make CSR work with jank domain
This commit is contained in:
parent
257d31e319
commit
954d286d73
|
@ -102,7 +102,7 @@ func (c *ConnectCALeaf) Fetch(opts cache.FetchOptions, req cache.Request) (cache
|
||||||
// needs a correct host ID, and we probably don't want to use TestCSR
|
// needs a correct host ID, and we probably don't want to use TestCSR
|
||||||
// and want a non-test-specific way to create a CSR.
|
// and want a non-test-specific way to create a CSR.
|
||||||
csr, pk := connect.TestCSR(&testing.RuntimeT{}, &connect.SpiffeIDService{
|
csr, pk := connect.TestCSR(&testing.RuntimeT{}, &connect.SpiffeIDService{
|
||||||
Host: "1234.consul",
|
Host: "11111111-2222-3333-4444-555555555555.consul",
|
||||||
Namespace: "default",
|
Namespace: "default",
|
||||||
Datacenter: reqReal.Datacenter,
|
Datacenter: reqReal.Datacenter,
|
||||||
Service: reqReal.Service,
|
Service: reqReal.Service,
|
||||||
|
|
Loading…
Reference in New Issue