trigger docker action
This commit is contained in:
parent
bd1c11a716
commit
3d462e5958
@ -56,7 +56,6 @@ async function getUrlFromHttpRoute(ingress) {
|
|||||||
const urlHost = ingress.spec.hostnames[0];
|
const urlHost = ingress.spec.hostnames[0];
|
||||||
const urlPath = ingress.spec.rules[0].matches[0].path.value;
|
const urlPath = ingress.spec.rules[0].matches[0].path.value;
|
||||||
const urlSchema = (await getSchemaFromGateway(ingress.spec.parentRefs[0])) ? "https" : "http";
|
const urlSchema = (await getSchemaFromGateway(ingress.spec.parentRefs[0])) ? "https" : "http";
|
||||||
// const urlSchema = "https"
|
|
||||||
return `${urlSchema}://${urlHost}${urlPath}`;
|
return `${urlSchema}://${urlHost}${urlPath}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user