File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,13 @@ func DefaultProcessFlags() FlagsMap {
63
63
}
64
64
65
65
// Flags appropriate for a node running as a local process
66
- func DefaultKubeFlags (includePluginDir bool ) FlagsMap {
67
- flags := FlagsMap {
66
+ func DefaultKubeFlags () FlagsMap {
67
+ return FlagsMap {
68
68
config .HTTPHostKey : "0.0.0.0" , // Need to bind to pod IP to ensure kubelet can access the http port for readiness check
69
69
config .LogDisplayLevelKey : logging .Info .String (),
70
70
// TODO(marun) Revert
71
71
config .LogLevelKey : logging .Info .String (), // Assume collection of stdout logs
72
72
}
73
- if includePluginDir {
74
- flags [config .PluginDirKey ] = "/avalanchego/build/plugins"
75
- }
76
- return flags
77
73
}
78
74
79
75
// Flags required by e2e testing
Original file line number Diff line number Diff line change @@ -108,11 +108,7 @@ func (p *NodePod) readState(ctx context.Context) error {
108
108
}
109
109
110
110
func (p * NodePod ) SetDefaultFlags () {
111
- // Only include the plugin dir if there are subnets to track to ensure an immutable path can be used
112
- // TODO(marun) Revisit this comment
113
- trackSubnets , err := p .node .Flags .GetStringVal (config .TrackSubnetsKey )
114
- includePluginDir := err == nil && len (trackSubnets ) > 0
115
- p .node .Flags .SetDefaults (DefaultKubeFlags (includePluginDir ))
111
+ p .node .Flags .SetDefaults (DefaultKubeFlags ())
116
112
}
117
113
118
114
// TODO(marun) Maybe better with a timestamp used as input to generateName and include uuid and node id as labels?
You can’t perform that action at this time.
0 commit comments