Skip to content

Commit

Permalink
Merge pull request #362 from openshift-cherrypick-robot/cherry-pick-3…
Browse files Browse the repository at this point in the history
…61-to-fusion-hci-4.14

[fusion-hci-4.14] Adds proxy for Provider mode backend in ConsolePlugin
  • Loading branch information
openshift-merge-bot[bot] authored Dec 26, 2023
2 parents 48c745d + 00c2e2c commit f0d7d14
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ func GetConsolePluginCR(consolePort int, serviceNamespace string) *consolev1alph
Namespace: serviceNamespace,
Port: int32(consolePort),
},
Proxy: []consolev1alpha1.ConsolePluginProxy{
{
Type: consolev1alpha1.ProxyTypeService,
Alias: "provider-proxy",
Service: consolev1alpha1.ConsolePluginProxyServiceConfig{
Name: "ux-backend-proxy",
Namespace: serviceNamespace,
Port: 8888,
},
Authorize: true,
},
},
},
}
}
Expand Down

0 comments on commit f0d7d14

Please sign in to comment.