File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ type ClientCARegistrationHook struct {
41
41
}
42
42
43
43
func (h ClientCARegistrationHook ) PostStartHook (hookContext genericapiserver.PostStartHookContext ) error {
44
- // no work to do
45
- if len (h .ClientCA ) == 0 && len (h .RequestHeaderCA ) == 0 {
46
- return nil
47
- }
48
-
49
44
// initializing CAs is important so that aggregated API servers can come up with "normal" config.
50
45
// We've seen lagging etcd before, so we want to retry this a few times before we decide to crashloop
51
46
// the API server on it.
@@ -68,7 +63,6 @@ func (h ClientCARegistrationHook) PostStartHook(hookContext genericapiserver.Pos
68
63
}
69
64
70
65
return nil
71
-
72
66
}
73
67
74
68
// tryToWriteClientCAs is here for unit testing with a fake client. This is a wait.ConditionFunc so the bool
You can’t perform that action at this time.
0 commit comments