Renamed ControlAgent to NodeControl
This commit is contained in:
@@ -16,8 +16,10 @@ var (
|
||||
AltPartDeviceLink = "/dev/mksaltpart"
|
||||
BootStateFile = "/run/monok8s/boot-state.env"
|
||||
CatalogURL = "https://example.com/monok8s.io/v1alpha1/catalog.yaml"
|
||||
ControlAgentName = "control-agent"
|
||||
ControlAgentKey = "monok8s.io/control-agent"
|
||||
NodeControlKey = "monok8s.io/node-control"
|
||||
NodeControlName = "node-control"
|
||||
ControllerName = "node-controller"
|
||||
NodeAgentName = "node-agent"
|
||||
EnvConfigDir = "/opt/monok8s/config"
|
||||
Label = "monok8s.io/label"
|
||||
MonoKSConfigCRD = "monoksconfigs.monok8s.io"
|
||||
|
||||
@@ -25,7 +25,7 @@ type MonoKSConfigSpec struct {
|
||||
ClusterDomain string `json:"clusterDomain,omitempty" yaml:"clusterDomain,omitempty"`
|
||||
ClusterRole string `json:"clusterRole,omitempty" yaml:"clusterRole,omitempty"`
|
||||
InitControlPlane bool `json:"initControlPlane,omitempty" yaml:"initControlPlane,omitempty"`
|
||||
EnableControlAgent bool `json:"enableControlAgent,omitempty" yaml:"enableControlAgent,omitempty"`
|
||||
EnableNodeControl bool `json:"enableNodeControl,omitempty" yaml:"enableNodeControl,omitempty"`
|
||||
PodSubnet string `json:"podSubnet,omitempty" yaml:"podSubnet,omitempty"`
|
||||
ServiceSubnet string `json:"serviceSubnet,omitempty" yaml:"serviceSubnet,omitempty"`
|
||||
APIServerAdvertiseAddress string `json:"apiServerAdvertiseAddress,omitempty" yaml:"apiServerAdvertiseAddress,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user