-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathhelm.ts
2290 lines (2290 loc) · 77.1 KB
/
helm.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
const completionSpec: Fig.Spec = {
name: "helm",
description: "The Helm package manager for Kubernetes",
subcommands: [
{
name: "completion",
description: "Generate autocompletion scripts for the specified shell",
subcommands: [
{
name: "bash",
description: "Generate autocompletion script for bash",
options: [
{
name: "--no-descriptions",
description: "Disable completion descriptions",
},
],
},
{
name: "fish",
description: "Generate autocompletion script for fish",
options: [
{
name: "--no-descriptions",
description: "Disable completion descriptions",
},
],
},
{
name: "powershell",
description: "Generate autocompletion script for powershell",
options: [
{
name: "--no-descriptions",
description: "Disable completion descriptions",
},
],
},
{
name: "zsh",
description: "Generate autocompletion script for zsh",
options: [
{
name: "--no-descriptions",
description: "Disable completion descriptions",
},
],
},
],
},
{
name: "create",
description: "Create a new chart with the given name",
options: [
{
name: ["--starter", "-p"],
description: "The name or absolute path to Helm starter scaffold",
args: { name: "starter" },
},
],
},
{
name: ["dep", "dependencies", "dependency"],
description: "Manage a chart's dependencies",
subcommands: [
{
name: "build",
description:
"Rebuild the charts/ directory based on the Chart.lock file",
options: [
{
name: "--keyring",
description: "Keyring containing public keys",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--skip-refresh",
description: "Do not refresh the local repository cache",
},
{
name: "--verify",
description: "Verify the packages against signatures",
},
],
},
{
name: ["ls", "list"],
description: "List the dependencies for the given chart",
options: [
{
name: "--max-col-width",
description: "Maximum column width for output table",
args: { name: "max-col-width", default: "80" },
},
],
},
{
name: ["up", "update"],
description: "Update charts/ based on the contents of Chart.yaml",
options: [
{
name: "--keyring",
description: "Keyring containing public keys",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--skip-refresh",
description: "Do not refresh the local repository cache",
},
{
name: "--verify",
description: "Verify the packages against signatures",
},
],
},
],
},
{ name: "env", description: "Helm client environment information" },
{
name: "get",
description: "Download extended information of a named release",
subcommands: [
{
name: "all",
description: "Download all information for a named release",
options: [
{
name: "--revision",
description: "Get the named release with revision",
args: { name: "revision", default: "0" },
},
{
name: "--template",
description:
"Go template for formatting the output, eg: {{.Release.Name}}",
args: { name: "template" },
},
],
},
{
name: "hooks",
description: "Download all hooks for a named release",
options: [
{
name: "--revision",
description: "Get the named release with revision",
args: { name: "revision", default: "0" },
},
],
},
{
name: "manifest",
description: "Download the manifest for a named release",
options: [
{
name: "--revision",
description: "Get the named release with revision",
args: { name: "revision", default: "0" },
},
],
},
{
name: "notes",
description: "Download the notes for a named release",
options: [
{
name: "--revision",
description: "Get the named release with revision",
args: { name: "revision", default: "0" },
},
],
},
{
name: "values",
description: "Download the values file for a named release",
options: [
{
name: ["--all", "-a"],
description: "Dump all (computed) values",
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
{
name: "--revision",
description: "Get the named release with revision",
args: { name: "revision", default: "0" },
},
],
},
],
},
{
name: ["hist", "history"],
description: "Fetch release history",
options: [
{
name: "--max",
description: "Maximum number of revision to include in history",
args: { name: "max", default: "256" },
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
],
},
{
name: "install",
description: "Install a chart",
options: [
{
name: "--atomic",
description:
"If set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used",
},
{
name: "--ca-file",
description:
"Verify certificates of HTTPS-enabled servers using this CA bundle",
args: { name: "ca-file", template: "filepaths" },
},
{
name: "--cert-file",
description: "Identify HTTPS client using this SSL certificate file",
args: { name: "cert-file", template: "filepaths" },
},
{
name: "--create-namespace",
description: "Create the release namespace if not present",
},
{
name: "--dependency-update",
description:
"Update dependencies if they are missing before installing the chart",
},
{
name: "--description",
description: "Add a custom description",
args: { name: "description" },
},
{
name: "--devel",
description:
"Use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored",
},
{
name: "--disable-openapi-validation",
description:
"If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema",
},
{ name: "--dry-run", description: "Simulate an install" },
{
name: ["--generate-name", "-g"],
description: "Generate the name (and omit the NAME parameter)",
},
{
name: "--insecure-skip-tls-verify",
description: "Skip tls certificate checks for the chart download",
},
{
name: "--key-file",
description: "Identify HTTPS client using this SSL key file",
args: { name: "key-file", template: "filepaths" },
},
{
name: "--keyring",
description: "Location of public keys used for verification",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--name-template",
description: "Specify template used to name the release",
args: { name: "name-template" },
},
{
name: "--no-hooks",
description: "Prevent hooks from running during install",
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
{
name: "--pass-credentials",
description: "Pass credentials to all domains",
},
{
name: "--password",
description:
"Chart repository password where to locate the requested chart",
args: { name: "password" },
},
{
name: "--post-renderer",
description:
"The path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path",
args: { name: "post-renderer" },
},
{
name: "--post-renderer-args",
description:
"An argument to the post-renderer (can specify multiple)",
isRepeatable: true,
args: { name: "post-renderer-args" },
},
{
name: "--render-subchart-notes",
description: "If set, render subchart notes along with the parent",
},
{
name: "--replace",
description:
"Re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production",
},
{
name: "--repo",
description:
"Chart repository url where to locate the requested chart",
args: { name: "repo" },
},
{
name: "--set",
description:
"Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)",
isRepeatable: true,
args: { name: "set" },
},
{
name: "--set-file",
description:
"Set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)",
isRepeatable: true,
args: { name: "set-file", template: "filepaths" },
},
{
name: "--set-string",
description:
"Set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)",
isRepeatable: true,
args: { name: "set-string" },
},
{
name: "--skip-crds",
description:
"If set, no CRDs will be installed. By default, CRDs are installed if not already present",
},
{
name: "--timeout",
description:
"Time to wait for any individual Kubernetes operation (like Jobs for hooks)",
args: { name: "timeout", default: "5m0s" },
},
{
name: "--username",
description:
"Chart repository username where to locate the requested chart",
args: { name: "username" },
},
{
name: ["--values", "-f"],
description:
"Specify values in a YAML file or a URL (can specify multiple)",
isRepeatable: true,
args: { name: "values", template: "filepaths" },
},
{ name: "--verify", description: "Verify the package before using it" },
{
name: "--version",
description:
"Specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used",
args: { name: "version" },
},
{
name: "--wait",
description:
"If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout",
},
{
name: "--wait-for-jobs",
description:
"If set and --wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as --timeout",
},
],
},
{
name: "lint",
description: "Examine a chart for possible issues",
options: [
{ name: "--quiet", description: "Print only warnings and errors" },
{
name: "--set",
description:
"Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)",
isRepeatable: true,
args: { name: "set" },
},
{
name: "--set-file",
description:
"Set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)",
isRepeatable: true,
args: { name: "set-file", template: "filepaths" },
},
{
name: "--set-string",
description:
"Set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)",
isRepeatable: true,
args: { name: "set-string" },
},
{ name: "--strict", description: "Fail on lint warnings" },
{
name: ["--values", "-f"],
description:
"Specify values in a YAML file or a URL (can specify multiple)",
isRepeatable: true,
args: { name: "values", template: "filepaths" },
},
{ name: "--with-subcharts", description: "Lint dependent charts" },
],
},
{
name: ["ls", "list"],
description: "List releases",
options: [
{
name: ["--all", "-a"],
description: "Show all releases without any filter applied",
},
{
name: ["--all-namespaces", "-A"],
description: "List releases across all namespaces",
},
{ name: ["--date", "-d"], description: "Sort by release date" },
{
name: "--deployed",
description:
"Show deployed releases. If no other is specified, this will be automatically enabled",
},
{ name: "--failed", description: "Show failed releases" },
{
name: ["--filter", "-f"],
description:
"A regular expression (Perl compatible). Any releases that match the expression will be included in the results",
args: { name: "filter" },
},
{
name: ["--max", "-m"],
description: "Maximum number of releases to fetch",
args: { name: "max", default: "256" },
},
{
name: "--no-headers",
description:
"Don't print headers when using the default output format",
},
{
name: "--offset",
description:
"Next release index in the list, used to offset from start value",
args: { name: "offset", default: "0" },
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
{ name: "--pending", description: "Show pending releases" },
{
name: ["--reverse", "-r"],
description: "Reverse the sort order",
},
{
name: ["--selector", "-l"],
description:
"Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Works only for secret(default) and configmap storage backends",
args: { name: "selector" },
},
{
name: ["--short", "-q"],
description: "Output short (quiet) listing format",
},
{
name: "--superseded",
description: "Show superseded releases",
},
{
name: "--time-format",
description:
'Format time using golang time formatter. Example: --time-format "2006-01-02 15:04:05Z0700"',
args: { name: "time-format" },
},
{
name: "--uninstalled",
description:
"Show uninstalled releases (if 'helm uninstall --keep-history' was used)",
},
{
name: "--uninstalling",
description: "Show releases that are currently being uninstalled",
},
],
},
{
name: "package",
description: "Package a chart directory into a chart archive",
options: [
{
name: "--app-version",
description: "Set the appVersion on the chart to this version",
args: { name: "app-version" },
},
{
name: ["--dependency-update", "-u"],
description:
'Update dependencies from "Chart.yaml" to dir "charts/" before packaging',
},
{
name: ["--destination", "-d"],
description: "Location to write the chart",
args: { name: "destination", default: "." },
},
{
name: "--key",
description:
"Name of the key to use when signing. Used if --sign is true",
args: { name: "key" },
},
{
name: "--keyring",
description: "Location of a public keyring",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--passphrase-file",
description:
'Location of a file which contains the passphrase for the signing key. Use "-" in order to read from stdin',
args: { name: "passphrase-file", template: "filepaths" },
},
{
name: "--sign",
description: "Use a PGP private key to sign this package",
},
{
name: "--version",
description: "Set the version on the chart to this semver version",
args: { name: "version" },
},
],
},
{
name: "plugin",
description: "Install, list, or uninstall Helm plugins",
subcommands: [
{
name: ["add", "install"],
description: "Install one or more Helm plugins",
options: [
{
name: "--version",
description:
"Specify a version constraint. If this is not specified, the latest version is installed",
args: { name: "version" },
},
],
},
{ name: ["ls", "list"], description: "List installed Helm plugins" },
{
name: ["rm", "remove", "uninstall"],
description: "Uninstall one or more Helm plugins",
},
{
name: ["up", "update"],
description: "Update one or more Helm plugins",
},
],
},
{
name: ["fetch", "pull"],
description:
"Download a chart from a repository and (optionally) unpack it in local directory",
options: [
{
name: "--ca-file",
description:
"Verify certificates of HTTPS-enabled servers using this CA bundle",
args: { name: "ca-file", template: "filepaths" },
},
{
name: "--cert-file",
description: "Identify HTTPS client using this SSL certificate file",
args: { name: "cert-file", template: "filepaths" },
},
{
name: ["--destination", "-d"],
description:
"Location to write the chart. If this and untardir are specified, untardir is appended to this",
args: { name: "destination", default: "." },
},
{
name: "--devel",
description:
"Use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored",
},
{
name: "--insecure-skip-tls-verify",
description: "Skip tls certificate checks for the chart download",
},
{
name: "--key-file",
description: "Identify HTTPS client using this SSL key file",
args: { name: "key-file", template: "filepaths" },
},
{
name: "--keyring",
description: "Location of public keys used for verification",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--pass-credentials",
description: "Pass credentials to all domains",
},
{
name: "--password",
description:
"Chart repository password where to locate the requested chart",
args: { name: "password" },
},
{
name: "--prov",
description:
"Fetch the provenance file, but don't perform verification",
},
{
name: "--repo",
description:
"Chart repository url where to locate the requested chart",
args: { name: "repo" },
},
{
name: "--untar",
description:
"If set to true, will untar the chart after downloading it",
},
{
name: "--untardir",
description:
"If untar is specified, this flag specifies the name of the directory into which the chart is expanded",
args: { name: "untardir", default: ".", template: "filepaths" },
},
{
name: "--username",
description:
"Chart repository username where to locate the requested chart",
args: { name: "username" },
},
{ name: "--verify", description: "Verify the package before using it" },
{
name: "--version",
description:
"Specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used",
args: { name: "version" },
},
],
},
{ name: "push", description: "Push a chart to remote" },
{
name: "registry",
description: "Login to or logout from a registry",
subcommands: [
{
name: "login",
description: "Login to a registry",
options: [
{
name: "--insecure",
description: "Allow connections to TLS registry without certs",
},
{
name: ["--password", "-p"],
description: "Registry password or identity token",
args: { name: "password" },
},
{
name: "--password-stdin",
description: "Read password or identity token from stdin",
},
{
name: ["--username", "-u"],
description: "Registry username",
args: { name: "username" },
},
],
},
{ name: "logout", description: "Logout from a registry" },
],
},
{
name: "repo",
description: "Add, list, remove, update, and index chart repositories",
subcommands: [
{
name: "add",
description: "Add a chart repository",
options: [
{
name: "--allow-deprecated-repos",
description:
"By default, this command will not allow adding official repos that have been permanently deleted. This disables that behavior",
},
{
name: "--ca-file",
description:
"Verify certificates of HTTPS-enabled servers using this CA bundle",
args: { name: "ca-file", template: "filepaths" },
},
{
name: "--cert-file",
description:
"Identify HTTPS client using this SSL certificate file",
args: { name: "cert-file", template: "filepaths" },
},
{
name: "--force-update",
description: "Replace (overwrite) the repo if it already exists",
},
{
name: "--insecure-skip-tls-verify",
description: "Skip tls certificate checks for the repository",
},
{
name: "--key-file",
description: "Identify HTTPS client using this SSL key file",
args: { name: "key-file", template: "filepaths" },
},
{
name: "--no-update",
description:
"Ignored. Formerly, it would disabled forced updates. It is deprecated by force-update",
},
{
name: "--pass-credentials",
description: "Pass credentials to all domains",
},
{
name: "--password",
description: "Chart repository password",
args: { name: "password" },
},
{
name: "--password-stdin",
description: "Read chart repository password from stdin",
},
{
name: "--username",
description: "Chart repository username",
args: { name: "username" },
},
],
},
{
name: "index",
description:
"Generate an index file given a directory containing packaged charts",
options: [
{
name: "--merge",
description: "Merge the generated index into the given index",
args: { name: "merge" },
},
{
name: "--url",
description: "Url of chart repository",
args: { name: "url" },
},
],
},
{
name: ["ls", "list"],
description: "List chart repositories",
options: [
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
],
},
{
name: ["rm", "remove"],
description: "Remove one or more chart repositories",
},
{
name: ["up", "update"],
description:
"Update information of available charts locally from chart repositories",
options: [
{
name: "--fail-on-repo-update-fail",
description: "Update fails if any of the repository updates fail",
},
],
},
],
},
{
name: "rollback",
description: "Roll back a release to a previous revision",
options: [
{
name: "--cleanup-on-fail",
description:
"Allow deletion of new resources created in this rollback when rollback fails",
},
{ name: "--dry-run", description: "Simulate a rollback" },
{
name: "--force",
description:
"Force resource update through delete/recreate if needed",
},
{
name: "--history-max",
description:
"Limit the maximum number of revisions saved per release. Use 0 for no limit",
args: { name: "history-max", default: "10" },
},
{
name: "--no-hooks",
description: "Prevent hooks from running during rollback",
},
{
name: "--recreate-pods",
description: "Performs pods restart for the resource if applicable",
},
{
name: "--timeout",
description:
"Time to wait for any individual Kubernetes operation (like Jobs for hooks)",
args: { name: "timeout", default: "5m0s" },
},
{
name: "--wait",
description:
"If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout",
},
{
name: "--wait-for-jobs",
description:
"If set and --wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as --timeout",
},
],
},
{ name: "s3", description: "Manage chart repositories on Amazon S3" },
{
name: "search",
description: "Search for a keyword in charts",
subcommands: [
{
name: "hub",
description:
"Search for charts in the Artifact Hub or your own hub instance",
options: [
{
name: "--endpoint",
description: "Hub instance to query for charts",
args: { name: "endpoint", default: "https://hub.helm.sh" },
},
{
name: "--list-repo-url",
description: "Print charts repository URL",
},
{
name: "--max-col-width",
description: "Maximum column width for output table",
args: { name: "max-col-width", default: "50" },
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
],
},
{
name: "repo",
description: "Search repositories for a keyword in charts",
options: [
{
name: "--devel",
description:
"Use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored",
},
{
name: "--max-col-width",
description: "Maximum column width for output table",
args: { name: "max-col-width", default: "50" },
},
{
name: ["--output", "-o"],
description:
"Prints the output in the specified format. Allowed values: table, json, yaml",
args: { name: "output", default: "table" },
},
{
name: ["--regexp", "-r"],
description:
"Use regular expressions for searching repositories you have added",
},
{
name: "--version",
description:
"Search using semantic versioning constraints on repositories you have added",
args: { name: "version" },
},
{
name: ["--versions", "-l"],
description:
"Show the long listing, with each version of each chart on its own line, for repositories you have added",
},
],
},
],
},
{
name: ["inspect", "show"],
description: "Show information of a chart",
subcommands: [
{
name: "all",
description: "Show all information of the chart",
options: [
{
name: "--ca-file",
description:
"Verify certificates of HTTPS-enabled servers using this CA bundle",
args: { name: "ca-file", template: "filepaths" },
},
{
name: "--cert-file",
description:
"Identify HTTPS client using this SSL certificate file",
args: { name: "cert-file", template: "filepaths" },
},
{
name: "--devel",
description:
"Use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored",
},
{
name: "--insecure-skip-tls-verify",
description: "Skip tls certificate checks for the chart download",
},
{
name: "--key-file",
description: "Identify HTTPS client using this SSL key file",
args: { name: "key-file", template: "filepaths" },
},
{
name: "--keyring",
description: "Location of public keys used for verification",
args: {
name: "keyring",
template: "filepaths",
default: "~/.gnupg/pubring.gpg",
},
},
{
name: "--pass-credentials",
description: "Pass credentials to all domains",