fix fallback rule (#9114)

pull/9012/head
Prabhat Khera 1 year ago committed by GitHub
parent cd89487c41
commit 3d22cde096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -646,10 +646,18 @@ export function CreateIngressView() {
function addNewIngressHost(noHost = false) {
const rule = { ...ingressRule };
const path: Path = {
Key: uuidv4(),
ServiceName: '',
ServicePort: 0,
Route: '',
PathType: 'Prefix',
};
const host: Host = {
Host: '',
Secret: '',
Paths: [],
Paths: noHost ? [path] : [],
NoHost: noHost,
Key: uuidv4(),
};

Loading…
Cancel
Save