@@ -406,28 +406,36 @@ def __init__(self):
406
406
407
407
subparser_k8s_pre_processor = SubgroupConfigParsingManager ("k8s" )
408
408
subparser_k8s_pre_processor .add_argument (
409
- "a" , "api-mode" , help_text = "k8s api mode (local, manual or cluster)"
409
+ "a" ,
410
+ "api-mode" ,
411
+ help_text = "Kubernetes API mode (local, manual or cluster)" ,
412
+ default_value = 'cluster'
410
413
)
411
414
412
415
subparser_k8s_pre_processor .add_argument (
413
416
"k" ,
414
417
"api-key" ,
415
- help_text = "API key authorization required for k8s manual configuration " ,
418
+ help_text = "Kubernetes Bearer Token (only for manual API mode) " ,
416
419
)
417
420
418
421
subparser_k8s_pre_processor .add_argument (
419
422
"h" ,
420
423
"api-host" ,
421
- help_text = "host required for k8s manual configuration " ,
424
+ help_text = "Kubernetes API host (only for manual API mode) " ,
422
425
)
423
426
424
427
subparser_k8s_pre_processor .add_argument (
425
428
"p" ,
426
429
"puller" ,
427
- help_text = "target puller for the pre-processor" ,
430
+ help_text = "Name of the puller to attach the pre-processor to" ,
431
+ )
432
+
433
+ subparser_k8s_pre_processor .add_argument (
434
+ "n" ,
435
+ "name" ,
436
+ help_text = "Name of the pre-processor"
428
437
)
429
438
430
- subparser_k8s_pre_processor .add_argument ("n" , "name" , help_text = "" )
431
439
self .add_subgroup_parser (
432
440
subgroup_name = "pre-processor" ,
433
441
subgroup_parser = subparser_k8s_pre_processor
0 commit comments