Skip to content

Commit

Permalink
add required field pathType
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsaperstein-lyft committed Nov 27, 2023
1 parent d5c3685 commit e4b694a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/controller/flink/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ func FetchJobManagerIngressCreateObj(app *flinkapp.FlinkApplication) *networkV1.
},
}

pathType := networkV1.PathTypeImplementationSpecific
ingressSpec := networkV1.IngressSpec{
Rules: []networkV1.IngressRule{{
Host: GetFlinkUIIngressURL(getIngressName(app)),
IngressRuleValue: networkV1.IngressRuleValue{
HTTP: &networkV1.HTTPIngressRuleValue{
Paths: []networkV1.HTTPIngressPath{{
Backend: backend,
Backend: backend,
PathType: &pathType,
}},
},
},
Expand Down

0 comments on commit e4b694a

Please sign in to comment.