Skip to content

Commit b586cc5

Browse files
committed
backend: add InClusterContextName in buildHeadlampCFG
Signed-off-by: Dmitry Ponomaryov <iamhalje@gmail.com>
1 parent 92a186b commit b586cc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/cmd/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func main() {
7979
func buildHeadlampCFG(conf *config.Config, kubeConfigStore kubeconfig.ContextStore) *headlampconfig.HeadlampCFG {
8080
return &headlampconfig.HeadlampCFG{
8181
UseInCluster: conf.InCluster,
82+
InClusterContextName: conf.InClusterContextName,
8283
KubeConfigPath: conf.KubeConfigPath,
8384
SkippedKubeContexts: conf.SkippedKubeContexts,
8485
ListenAddr: conf.ListenAddr,

0 commit comments

Comments
 (0)