Skip to content

Commit baaf568

Browse files
committed
patch master option tweaks
1 parent 35a97b4 commit baaf568

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/util/server/server.go

+4
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ func DefaultMasterOptionsWithTweaks(startEtcd, useDefaultPort bool) (*configapi.
193193
return nil, err
194194
}
195195

196+
if masterConfig.AdmissionConfig.PluginConfig == nil {
197+
masterConfig.AdmissionConfig.PluginConfig = make(map[string]configapi.AdmissionPluginConfig)
198+
}
199+
196200
if masterConfig.EtcdConfig != nil {
197201
addr, err := FindAvailableBindAddress(10000, 29999)
198202
if err != nil {

0 commit comments

Comments
 (0)