mirror of
https://github.com/rancher/k3k.git
synced 2026-08-19 04:16:16 +00:00
Fix virtual node types (#135)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
const (
|
||||
VirtualNodeMode = "virtual"
|
||||
virtualNodeAgentName = "kubelet"
|
||||
virtualNodeAgentName = "agent"
|
||||
)
|
||||
|
||||
type VirtualAgent struct {
|
||||
@@ -25,7 +25,7 @@ type VirtualAgent struct {
|
||||
func NewVirtualAgent(cluster *v1alpha1.Cluster, serviceIP string) Agent {
|
||||
return &VirtualAgent{
|
||||
cluster: cluster,
|
||||
serviceIP: cluster.Spec.Mode,
|
||||
serviceIP: serviceIP,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user