@@ -150,7 +150,7 @@ func TestGetAPIServerCommand(t *testing.T) {
150
150
expected : []string {
151
151
"kube-apiserver" ,
152
152
"--insecure-port=0" ,
153
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
153
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
154
154
"--service-cluster-ip-range=bar" ,
155
155
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
156
156
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -184,7 +184,7 @@ func TestGetAPIServerCommand(t *testing.T) {
184
184
expected : []string {
185
185
"kube-apiserver" ,
186
186
"--insecure-port=0" ,
187
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
187
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
188
188
"--service-cluster-ip-range=bar" ,
189
189
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
190
190
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -218,7 +218,7 @@ func TestGetAPIServerCommand(t *testing.T) {
218
218
expected : []string {
219
219
"kube-apiserver" ,
220
220
"--insecure-port=0" ,
221
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
221
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
222
222
"--service-cluster-ip-range=bar" ,
223
223
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
224
224
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -253,7 +253,7 @@ func TestGetAPIServerCommand(t *testing.T) {
253
253
expected : []string {
254
254
"kube-apiserver" ,
255
255
"--insecure-port=0" ,
256
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
256
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
257
257
"--service-cluster-ip-range=bar" ,
258
258
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
259
259
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -290,7 +290,7 @@ func TestGetAPIServerCommand(t *testing.T) {
290
290
expected : []string {
291
291
"kube-apiserver" ,
292
292
"--insecure-port=0" ,
293
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
293
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
294
294
"--service-cluster-ip-range=bar" ,
295
295
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
296
296
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -327,7 +327,7 @@ func TestGetAPIServerCommand(t *testing.T) {
327
327
expected : []string {
328
328
"kube-apiserver" ,
329
329
"--insecure-port=0" ,
330
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
330
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota" ,
331
331
"--service-cluster-ip-range=bar" ,
332
332
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
333
333
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -364,7 +364,7 @@ func TestGetAPIServerCommand(t *testing.T) {
364
364
expected : []string {
365
365
"kube-apiserver" ,
366
366
"--insecure-port=0" ,
367
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
367
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
368
368
"--service-cluster-ip-range=bar" ,
369
369
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
370
370
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -401,7 +401,7 @@ func TestGetAPIServerCommand(t *testing.T) {
401
401
expected : []string {
402
402
"kube-apiserver" ,
403
403
"--insecure-port=0" ,
404
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
404
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
405
405
"--service-cluster-ip-range=bar" ,
406
406
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
407
407
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -437,7 +437,7 @@ func TestGetAPIServerCommand(t *testing.T) {
437
437
expected : []string {
438
438
"kube-apiserver" ,
439
439
"--insecure-port=0" ,
440
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
440
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
441
441
"--service-cluster-ip-range=bar" ,
442
442
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
443
443
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
@@ -473,7 +473,7 @@ func TestGetAPIServerCommand(t *testing.T) {
473
473
expected : []string {
474
474
"kube-apiserver" ,
475
475
"--insecure-port=0" ,
476
- "--admission-control=Initializers, NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
476
+ "--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" ,
477
477
"--service-cluster-ip-range=bar" ,
478
478
"--service-account-key-file=" + testCertsDir + "/sa.pub" ,
479
479
"--client-ca-file=" + testCertsDir + "/ca.crt" ,
0 commit comments