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 <[email protected]>
  • Loading branch information
bipuladh committed Dec 26, 2023
1 parent af060a2 commit 71c484f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ 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 71c484f

Please sign in to comment.