-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The plugins are also deployed when 'Sealer join' is executed #1238
Conversation
apply/processor/scale.go
Outdated
s.MountRootfs, | ||
s.GetPhasePluginFunc(plugin.PhasePreInit), | ||
s.Join, | ||
s.GetPhasePluginFunc(plugin.PhasePreGuest), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Join should not exec preguest plugins.
Maybe we need PreJoin phase, and only exec PreJoin plugins when join master or nodes. Support multi phase:
|
great |
0b38f4d
to
d30790f
Compare
support multiple phase;
d30790f
to
05a4fa2
Compare
apply/processor/scale.go
Outdated
s.MountRootfs, | ||
s.GetPhasePluginFunc(plugin.PhasePreJoin), | ||
s.Join, | ||
s.GetPhasePluginFunc(plugin.PhasePostInstall), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think only exec PhasePreJoin and PhasePostJoin
b1c1ec8
to
185f0eb
Compare
The plugins are also deployed when 'Sealer join' is executed