Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Dec 19, 2023
1 parent bdd5367 commit 7c389a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/embeddedcluster/node_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func GenerateK0sJoinCommand(ctx context.Context, client kubernetes.Interface, ro

// gets the port of the 'admin-console' service
func getAdminConsolePort(ctx context.Context, client kubernetes.Interface) (int32, error) {
svc, err := client.CoreV1().Services(util.PodNamespace).Get(ctx, "kotsadm-nodeport", metav1.GetOptions{})
svc, err := client.CoreV1().Services(util.PodNamespace).Get(ctx, "admin-console", metav1.GetOptions{})
if err != nil {
return -1, fmt.Errorf("failed to get admin-console service: %w", err)
}
Expand Down

0 comments on commit 7c389a1

Please sign in to comment.