Skip to content

Commit

Permalink
Add wildcard to ingress root path (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas authored Mar 19, 2021
1 parent 3255962 commit 288370c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/flinkcluster_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func getDesiredJobManagerIngress(
IngressRuleValue: extensionsv1beta1.IngressRuleValue{
HTTP: &extensionsv1beta1.HTTPIngressRuleValue{
Paths: []extensionsv1beta1.HTTPIngressPath{{
Path: "/",
Path: "/*",
Backend: extensionsv1beta1.IngressBackend{
ServiceName: jobManagerServiceName,
ServicePort: jobManagerServiceUIPort,
Expand Down
2 changes: 1 addition & 1 deletion controllers/flinkcluster_converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func TestGetDesiredClusterState(t *testing.T) {
IngressRuleValue: extensionsv1beta1.IngressRuleValue{
HTTP: &extensionsv1beta1.HTTPIngressRuleValue{
Paths: []extensionsv1beta1.HTTPIngressPath{{
Path: "/",
Path: "/*",
Backend: extensionsv1beta1.IngressBackend{
ServiceName: "flinkjobcluster-sample-jobmanager",
ServicePort: intstr.FromString("ui"),
Expand Down

0 comments on commit 288370c

Please sign in to comment.