mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
remove unnecessary fields from generic apiserver
This commit is contained in:
@@ -76,19 +76,14 @@ func TestNew(t *testing.T) {
|
||||
defer etcdserver.Terminate(t)
|
||||
|
||||
// Verify many of the variables match their config counterparts
|
||||
assert.Equal(s.enableLogsSupport, config.EnableLogsSupport)
|
||||
assert.Equal(s.enableUISupport, config.EnableUISupport)
|
||||
assert.Equal(s.enableSwaggerSupport, config.EnableSwaggerSupport)
|
||||
assert.Equal(s.enableSwaggerUI, config.EnableSwaggerUI)
|
||||
assert.Equal(s.enableProfiling, config.EnableProfiling)
|
||||
assert.Equal(s.APIPrefix, config.APIPrefix)
|
||||
assert.Equal(s.APIGroupPrefix, config.APIGroupPrefix)
|
||||
assert.Equal(s.corsAllowedOriginList, config.CorsAllowedOriginList)
|
||||
assert.Equal(s.authenticator, config.Authenticator)
|
||||
assert.Equal(s.authorizer, config.Authorizer)
|
||||
assert.Equal(s.AdmissionControl, config.AdmissionControl)
|
||||
assert.Equal(s.RequestContextMapper, config.RequestContextMapper)
|
||||
assert.Equal(s.cacheTimeout, config.CacheTimeout)
|
||||
assert.Equal(s.ExternalAddress, config.ExternalHost)
|
||||
assert.Equal(s.ClusterIP, config.PublicAddress)
|
||||
assert.Equal(s.PublicReadWritePort, config.ReadWritePort)
|
||||
|
||||
Reference in New Issue
Block a user