Skip to content

Commit

Permalink
console: Adds proxy for Provider mode backend in ConsolePlugin
Browse files Browse the repository at this point in the history
Connects to the on-boarding server to generate certs

Signed-off-by: Bipul Adhikari <badhikar@redhat.com>
  • Loading branch information
bipuladh authored and openshift-cherrypick-robot committed Dec 26, 2023
1 parent 48c745d commit 00c2e2c
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 00c2e2c

Please sign in to comment.