Skip to content

Commit

Permalink
Merge pull request #361 from bipuladh/add-proxy
Browse files Browse the repository at this point in the history
Adds proxy for Provider mode backend in ConsolePlugin
  • Loading branch information
openshift-merge-bot[bot] authored Dec 26, 2023
2 parents af060a2 + ebb36ad commit 94ac319
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 94ac319

Please sign in to comment.