trigger docker action
This commit is contained in:
1 parent
bd1c11a716
commit
3d462e5958
1 file changed
-1
@@ -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}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user