Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-368: use k8s name from kubeconfig (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Kralik authored Sep 7, 2023
1 parent d06aa6a commit 72bd2bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/install/operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ func (o *Operators) Run(ctx context.Context) error {
}
}

if o.config.Name == "" {
o.config.Name = o.kubeClient.ClusterName()
}

if o.everestClient == nil {
if err := o.configureEverestConnector(); err != nil {
return err
Expand Down

0 comments on commit 72bd2bd

Please sign in to comment.