/
v2beta9.json
executable file
·2796 lines (2796 loc) · 132 KB
/
v2beta9.json
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
{
"type": "object",
"anyOf": [
{
"$ref": "#/definitions/SkaffoldConfig"
}
],
"$schema": "http://json-schema-org/draft-07/schema#",
"definitions": {
"Activation": {
"properties": {
"command": {
"type": "string",
"description": "a Skaffold command for which the profile is auto-activated.",
"x-intellij-html-description": "a Skaffold command for which the profile is auto-activated.",
"examples": [
"dev"
]
},
"env": {
"type": "string",
"description": "a `key=pattern` pair. The profile is auto-activated if an Environment Variable `key` matches the pattern. If the pattern starts with `!`, activation happens if the remaining pattern is _not_ matched. The pattern matches if the Environment Variable value is exactly `pattern`, or the regex `pattern` is found in it. An empty `pattern` (e.g. `env: \"key=\"`) always only matches if the Environment Variable is undefined or empty.",
"x-intellij-html-description": "a <code>key=pattern</code> pair. The profile is auto-activated if an Environment Variable <code>key</code> matches the pattern. If the pattern starts with <code>!</code>, activation happens if the remaining pattern is <em>not</em> matched. The pattern matches if the Environment Variable value is exactly <code>pattern</code>, or the regex <code>pattern</code> is found in it. An empty <code>pattern</code> (e.g. <code>env: "key="</code>) always only matches if the Environment Variable is undefined or empty.",
"examples": [
"ENV=production"
]
},
"kubeContext": {
"type": "string",
"description": "a Kubernetes context for which the profile is auto-activated.",
"x-intellij-html-description": "a Kubernetes context for which the profile is auto-activated.",
"examples": [
"minikube"
]
}
},
"preferredOrder": [
"env",
"kubeContext",
"command"
],
"additionalProperties": false,
"description": "criteria by which a profile is auto-activated.",
"x-intellij-html-description": "criteria by which a profile is auto-activated."
},
"Artifact": {
"required": [
"image"
],
"anyOf": [
{
"properties": {
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires"
],
"additionalProperties": false
},
{
"properties": {
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"docker": {
"$ref": "#/definitions/DockerArtifact",
"description": "*beta* describes an artifact built from a Dockerfile.",
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a Dockerfile."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"docker"
],
"additionalProperties": false
},
{
"properties": {
"bazel": {
"$ref": "#/definitions/BazelArtifact",
"description": "*beta* requires bazel CLI to be installed and the sources to contain [Bazel](https://bazel.build/) configuration files.",
"x-intellij-html-description": "<em>beta</em> requires bazel CLI to be installed and the sources to contain <a href=\"https://bazel.build/\">Bazel</a> configuration files."
},
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"bazel"
],
"additionalProperties": false
},
{
"properties": {
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"jib": {
"$ref": "#/definitions/JibArtifact",
"description": "builds images using the [Jib plugins for Maven or Gradle](https://github.com/GoogleContainerTools/jib/).",
"x-intellij-html-description": "builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/\">Jib plugins for Maven or Gradle</a>."
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"jib"
],
"additionalProperties": false
},
{
"properties": {
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"kaniko": {
"$ref": "#/definitions/KanikoArtifact",
"description": "builds images using [kaniko](https://github.com/GoogleContainerTools/kaniko).",
"x-intellij-html-description": "builds images using <a href=\"https://github.com/GoogleContainerTools/kaniko\">kaniko</a>."
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"kaniko"
],
"additionalProperties": false
},
{
"properties": {
"buildpacks": {
"$ref": "#/definitions/BuildpackArtifact",
"description": "builds images using [Cloud Native Buildpacks](https://buildpacks.io/).",
"x-intellij-html-description": "builds images using <a href=\"https://buildpacks.io/\">Cloud Native Buildpacks</a>."
},
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"buildpacks"
],
"additionalProperties": false
},
{
"properties": {
"context": {
"type": "string",
"description": "directory containing the artifact's sources.",
"x-intellij-html-description": "directory containing the artifact's sources.",
"default": "."
},
"custom": {
"$ref": "#/definitions/CustomArtifact",
"description": "*beta* builds images using a custom build script written by the user.",
"x-intellij-html-description": "<em>beta</em> builds images using a custom build script written by the user."
},
"image": {
"type": "string",
"description": "name of the image to be built.",
"x-intellij-html-description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
]
},
"requires": {
"items": {
"$ref": "#/definitions/ArtifactDependency"
},
"type": "array",
"description": "describes build artifacts that this artifact depends on.",
"x-intellij-html-description": "describes build artifacts that this artifact depends on."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*beta* local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"x-intellij-html-description": "<em>beta</em> local files synced to pods instead of triggering an image build when modified. If no files are listed, sync all the files and infer the destination.",
"default": "infer: [\"**/*\"]"
}
},
"preferredOrder": [
"image",
"context",
"sync",
"requires",
"custom"
],
"additionalProperties": false
}
],
"description": "items that need to be built, along with the context in which they should be built.",
"x-intellij-html-description": "items that need to be built, along with the context in which they should be built."
},
"ArtifactDependency": {
"required": [
"image"
],
"properties": {
"alias": {
"type": "string",
"description": "a token that is replaced with the image reference in the builder definition files. For example, the `docker` builder will use the alias as a build-arg key. Defaults to the value of `image`.",
"x-intellij-html-description": "a token that is replaced with the image reference in the builder definition files. For example, the <code>docker</code> builder will use the alias as a build-arg key. Defaults to the value of <code>image</code>."
},
"image": {
"type": "string",
"description": "a reference to an artifact's image name.",
"x-intellij-html-description": "a reference to an artifact's image name."
}
},
"preferredOrder": [
"image",
"alias"
],
"additionalProperties": false,
"description": "describes a specific build dependency for an artifact.",
"x-intellij-html-description": "describes a specific build dependency for an artifact."
},
"BazelArtifact": {
"required": [
"target"
],
"properties": {
"args": {
"items": {
"type": "string"
},
"type": "array",
"description": "additional args to pass to `bazel build`.",
"x-intellij-html-description": "additional args to pass to <code>bazel build</code>.",
"default": "[]",
"examples": [
"[\"-flag\", \"--otherflag\"]"
]
},
"target": {
"type": "string",
"description": "`bazel build` target to run.",
"x-intellij-html-description": "<code>bazel build</code> target to run.",
"examples": [
"//:skaffold_example.tar"
]
}
},
"preferredOrder": [
"target",
"args"
],
"additionalProperties": false,
"description": "describes an artifact built with [Bazel](https://bazel.build/).",
"x-intellij-html-description": "describes an artifact built with <a href=\"https://bazel.build/\">Bazel</a>."
},
"BuildConfig": {
"anyOf": [
{
"properties": {
"artifacts": {
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"description": "the images you're going to be building.",
"x-intellij-html-description": "the images you're going to be building."
},
"insecureRegistries": {
"items": {
"type": "string"
},
"type": "array",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"default": "[]"
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
},
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy"
],
"additionalProperties": false
},
{
"properties": {
"artifacts": {
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"description": "the images you're going to be building.",
"x-intellij-html-description": "the images you're going to be building."
},
"insecureRegistries": {
"items": {
"type": "string"
},
"type": "array",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"default": "[]"
},
"local": {
"$ref": "#/definitions/LocalBuild",
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
},
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"local"
],
"additionalProperties": false
},
{
"properties": {
"artifacts": {
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"description": "the images you're going to be building.",
"x-intellij-html-description": "the images you're going to be building."
},
"googleCloudBuild": {
"$ref": "#/definitions/GoogleCloudBuild",
"description": "*beta* describes how to do a remote build on [Google Cloud Build](https://cloud.google.com/cloud-build/).",
"x-intellij-html-description": "<em>beta</em> describes how to do a remote build on <a href=\"https://cloud.google.com/cloud-build/\">Google Cloud Build</a>."
},
"insecureRegistries": {
"items": {
"type": "string"
},
"type": "array",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"default": "[]"
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
},
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"googleCloudBuild"
],
"additionalProperties": false
},
{
"properties": {
"artifacts": {
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"description": "the images you're going to be building.",
"x-intellij-html-description": "the images you're going to be building."
},
"cluster": {
"$ref": "#/definitions/ClusterDetails",
"description": "*beta* describes how to do an on-cluster build.",
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"insecureRegistries": {
"items": {
"type": "string"
},
"type": "array",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"default": "[]"
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
},
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"cluster"
],
"additionalProperties": false
}
],
"description": "contains all the configuration for the build steps.",
"x-intellij-html-description": "contains all the configuration for the build steps."
},
"BuildpackArtifact": {
"required": [
"builder"
],
"properties": {
"builder": {
"type": "string",
"description": "builder image used.",
"x-intellij-html-description": "builder image used."
},
"buildpacks": {
"items": {
"type": "string"
},
"type": "array",
"description": "a list of strings, where each string is a specific buildpack to use with the builder. If you specify buildpacks the builder image automatic detection will be ignored. These buildpacks will be used to build the Image from your source code. Order matters.",
"x-intellij-html-description": "a list of strings, where each string is a specific buildpack to use with the builder. If you specify buildpacks the builder image automatic detection will be ignored. These buildpacks will be used to build the Image from your source code. Order matters.",
"default": "[]"
},
"dependencies": {
"$ref": "#/definitions/BuildpackDependencies",
"description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact.",
"x-intellij-html-description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact."
},
"env": {
"items": {
"type": "string"
},
"type": "array",
"description": "environment variables, in the `key=value` form, passed to the build. Values can use the go template syntax.",
"x-intellij-html-description": "environment variables, in the <code>key=value</code> form, passed to the build. Values can use the go template syntax.",
"default": "[]",
"examples": [
"[\"key1=value1\", \"key2=value2\", \"key3={{.ENV_VARIABLE}}\"]"
]
},
"projectDescriptor": {
"type": "string",
"description": "path to the project descriptor file.",
"x-intellij-html-description": "path to the project descriptor file.",
"default": "project.toml"
},
"runImage": {
"type": "string",
"description": "overrides the stack's default run image.",
"x-intellij-html-description": "overrides the stack's default run image."
},
"trustBuilder": {
"type": "boolean",
"description": "indicates that the builder should be trusted.",
"x-intellij-html-description": "indicates that the builder should be trusted.",
"default": "false"
}
},
"preferredOrder": [
"builder",
"runImage",
"env",
"buildpacks",
"trustBuilder",
"projectDescriptor",
"dependencies"
],
"additionalProperties": false,
"description": "*alpha* describes an artifact built using [Cloud Native Buildpacks](https://buildpacks.io/). It can be used to build images out of project's sources without any additional configuration.",
"x-intellij-html-description": "<em>alpha</em> describes an artifact built using <a href=\"https://buildpacks.io/\">Cloud Native Buildpacks</a>. It can be used to build images out of project's sources without any additional configuration."
},
"BuildpackDependencies": {
"properties": {
"ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both `paths` and in `ignore`, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with `paths`.",
"x-intellij-html-description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both <code>paths</code> and in <code>ignore</code>, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with <code>paths</code>.",
"default": "[]"
},
"paths": {
"items": {
"type": "string"
},
"type": "array",
"description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization.",
"x-intellij-html-description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization.",
"default": "[]"
}
},
"preferredOrder": [
"paths",
"ignore"
],
"additionalProperties": false,
"description": "*alpha* used to specify dependencies for an artifact built by buildpacks.",
"x-intellij-html-description": "<em>alpha</em> used to specify dependencies for an artifact built by buildpacks."
},
"ClusterDetails": {
"properties": {
"HTTPS_PROXY": {
"type": "string",
"description": "for kaniko pod.",
"x-intellij-html-description": "for kaniko pod."
},
"HTTP_PROXY": {
"type": "string",
"description": "for kaniko pod.",
"x-intellij-html-description": "for kaniko pod."
},
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "describes the Kubernetes annotations for the pod.",
"x-intellij-html-description": "describes the Kubernetes annotations for the pod.",
"default": "{}"
},
"concurrency": {
"type": "integer",
"description": "how many artifacts can be built concurrently. 0 means \"no-limit\".",
"x-intellij-html-description": "how many artifacts can be built concurrently. 0 means "no-limit".",
"default": "0"
},
"dockerConfig": {
"$ref": "#/definitions/DockerConfig",
"description": "describes how to mount the local Docker configuration into a pod.",
"x-intellij-html-description": "describes how to mount the local Docker configuration into a pod."
},
"namespace": {
"type": "string",
"description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration.",
"x-intellij-html-description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration."
},
"pullSecretMountPath": {
"type": "string",
"description": "path the pull secret will be mounted at within the running container.",
"x-intellij-html-description": "path the pull secret will be mounted at within the running container."
},
"pullSecretName": {
"type": "string",
"description": "name of the Kubernetes secret for pulling base images and pushing the final image. If given, the secret needs to contain the Google Cloud service account secret key under the key `kaniko-secret`.",
"x-intellij-html-description": "name of the Kubernetes secret for pulling base images and pushing the final image. If given, the secret needs to contain the Google Cloud service account secret key under the key <code>kaniko-secret</code>.",
"default": "kaniko-secret"
},
"pullSecretPath": {
"type": "string",
"description": "path to the Google Cloud service account secret key file.",
"x-intellij-html-description": "path to the Google Cloud service account secret key file."
},
"randomDockerConfigSecret": {
"type": "boolean",
"description": "adds a random UUID postfix to the default name of the docker secret to facilitate parallel builds, e.g. docker-cfgfd154022-c761-416f-8eb3-cf8258450b85.",
"x-intellij-html-description": "adds a random UUID postfix to the default name of the docker secret to facilitate parallel builds, e.g. docker-cfgfd154022-c761-416f-8eb3-cf8258450b85.",
"default": "false"
},
"randomPullSecret": {
"type": "boolean",
"description": "adds a random UUID postfix to the default name of the pull secret to facilitate parallel builds, e.g. kaniko-secretdocker-cfgfd154022-c761-416f-8eb3-cf8258450b85.",
"x-intellij-html-description": "adds a random UUID postfix to the default name of the pull secret to facilitate parallel builds, e.g. kaniko-secretdocker-cfgfd154022-c761-416f-8eb3-cf8258450b85.",
"default": "false"
},
"resources": {
"$ref": "#/definitions/ResourceRequirements",
"description": "define the resource requirements for the kaniko pod.",
"x-intellij-html-description": "define the resource requirements for the kaniko pod."
},
"runAsUser": {
"type": "integer",
"description": "defines the UID to request for running the container. If omitted, no SeurityContext will be specified for the pod and will therefore be inherited from the service account.",
"x-intellij-html-description": "defines the UID to request for running the container. If omitted, no SeurityContext will be specified for the pod and will therefore be inherited from the service account."
},
"serviceAccount": {
"type": "string",
"description": "describes the Kubernetes service account to use for the pod. Defaults to 'default'.",
"x-intellij-html-description": "describes the Kubernetes service account to use for the pod. Defaults to 'default'."
},
"timeout": {
"type": "string",
"description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (`20m`).",
"x-intellij-html-description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (<code>20m</code>)."
},
"tolerations": {
"items": {},
"type": "array",
"description": "describes the Kubernetes tolerations for the pod.",
"x-intellij-html-description": "describes the Kubernetes tolerations for the pod.",
"default": "[]"
},
"volumes": {
"items": {},
"type": "array",
"description": "defines container mounts for ConfigMap and Secret resources.",
"x-intellij-html-description": "defines container mounts for ConfigMap and Secret resources.",
"default": "[]"
}
},
"preferredOrder": [
"HTTP_PROXY",
"HTTPS_PROXY",
"pullSecretPath",
"pullSecretName",
"pullSecretMountPath",
"namespace",
"timeout",
"dockerConfig",
"serviceAccount",
"tolerations",
"annotations",
"runAsUser",
"resources",
"concurrency",
"volumes",
"randomPullSecret",
"randomDockerConfigSecret"
],
"additionalProperties": false,
"description": "*beta* describes how to do an on-cluster build.",
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"CustomArtifact": {
"properties": {
"buildCommand": {
"type": "string",
"description": "command executed to build the image.",
"x-intellij-html-description": "command executed to build the image."
},
"dependencies": {
"$ref": "#/definitions/CustomDependencies",
"description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact.",
"x-intellij-html-description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact."
}
},
"preferredOrder": [
"buildCommand",
"dependencies"
],
"additionalProperties": false,
"description": "*beta* describes an artifact built from a custom build script written by the user. It can be used to build images with builders that aren't directly integrated with skaffold.",
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a custom build script written by the user. It can be used to build images with builders that aren't directly integrated with skaffold."
},
"CustomDependencies": {
"properties": {
"command": {
"type": "string",
"description": "represents a custom command that skaffold executes to obtain dependencies. The output of this command *must* be a valid JSON array.",
"x-intellij-html-description": "represents a custom command that skaffold executes to obtain dependencies. The output of this command <em>must</em> be a valid JSON array."
},
"dockerfile": {
"$ref": "#/definitions/DockerfileDependency",
"description": "should be set if the artifact is built from a Dockerfile, from which skaffold can determine dependencies.",
"x-intellij-html-description": "should be set if the artifact is built from a Dockerfile, from which skaffold can determine dependencies."
},
"ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both `paths` and in `ignore`, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with `paths`.",
"x-intellij-html-description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both <code>paths</code> and in <code>ignore</code>, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with <code>paths</code>.",
"default": "[]"
},
"paths": {
"items": {
"type": "string"
},
"type": "array",
"description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization.",
"x-intellij-html-description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization.",
"default": "[]"
}
},
"preferredOrder": [
"dockerfile",
"command",
"paths",
"ignore"
],
"additionalProperties": false,
"description": "*beta* used to specify dependencies for an artifact built by a custom build script. Either `dockerfile` or `paths` should be specified for file watching to work as expected.",
"x-intellij-html-description": "<em>beta</em> used to specify dependencies for an artifact built by a custom build script. Either <code>dockerfile</code> or <code>paths</code> should be specified for file watching to work as expected."
},
"CustomTemplateTagger": {
"required": [
"template"
],
"properties": {
"components": {
"items": {
"$ref": "#/definitions/TaggerComponent"
},
"type": "array",
"description": "TaggerComponents that the template (see field above) can be executed against.",
"x-intellij-html-description": "TaggerComponents that the template (see field above) can be executed against."
},
"template": {
"type": "string",
"description": "used to produce the image name and tag. See golang [text/template](https://golang.org/pkg/text/template/). The template is executed against the provided components with those variables injected.",
"x-intellij-html-description": "used to produce the image name and tag. See golang <a href=\"https://golang.org/pkg/text/template/\">text/template</a>. The template is executed against the provided components with those variables injected.",
"examples": [
"{{.DATE}}"
]
}
},
"preferredOrder": [
"template",
"components"
],
"additionalProperties": false,
"description": "*beta* tags images with a configurable template string.",
"x-intellij-html-description": "<em>beta</em> tags images with a configurable template string."
},
"DateTimeTagger": {
"properties": {
"format": {
"type": "string",
"description": "formats the date and time. See [#Time.Format](https://golang.org/pkg/time/#Time.Format).",
"x-intellij-html-description": "formats the date and time. See <a href=\"https://golang.org/pkg/time/#Time.Format\">#Time.Format</a>.",
"default": "2006-01-02_15-04-05.999_MST"
},
"timezone": {
"type": "string",
"description": "sets the timezone for the date and time. See [Time.LoadLocation](https://golang.org/pkg/time/#Time.LoadLocation). Defaults to the local timezone.",
"x-intellij-html-description": "sets the timezone for the date and time. See <a href=\"https://golang.org/pkg/time/#Time.LoadLocation\">Time.LoadLocation</a>. Defaults to the local timezone."
}
},
"preferredOrder": [
"format",
"timezone"
],
"additionalProperties": false,
"description": "*beta* tags images with the build timestamp.",
"x-intellij-html-description": "<em>beta</em> tags images with the build timestamp."
},
"DeployConfig": {
"properties": {
"helm": {
"$ref": "#/definitions/HelmDeploy",
"description": "*beta* uses the `helm` CLI to apply the charts to the cluster.",
"x-intellij-html-description": "<em>beta</em> uses the <code>helm</code> CLI to apply the charts to the cluster."
},
"kpt": {
"$ref": "#/definitions/KptDeploy",
"description": "*alpha* uses the `kpt` CLI to manage and deploy manifests.",
"x-intellij-html-description": "<em>alpha</em> uses the <code>kpt</code> CLI to manage and deploy manifests."
},
"kubeContext": {
"type": "string",
"description": "Kubernetes context that Skaffold should deploy to.",
"x-intellij-html-description": "Kubernetes context that Skaffold should deploy to.",
"examples": [
"minikube"
]
},
"kubectl": {
"$ref": "#/definitions/KubectlDeploy",
"description": "*beta* uses a client side `kubectl apply` to deploy manifests. You'll need a `kubectl` CLI version installed that's compatible with your cluster.",
"x-intellij-html-description": "<em>beta</em> uses a client side <code>kubectl apply</code> to deploy manifests. You'll need a <code>kubectl</code> CLI version installed that's compatible with your cluster."
},
"kustomize": {
"$ref": "#/definitions/KustomizeDeploy",
"description": "*beta* uses the `kustomize` CLI to \"patch\" a deployment for a target environment.",
"x-intellij-html-description": "<em>beta</em> uses the <code>kustomize</code> CLI to "patch" a deployment for a target environment."
},
"logs": {
"$ref": "#/definitions/LogsConfig",
"description": "configures how container logs are printed as a result of a deployment.",
"x-intellij-html-description": "configures how container logs are printed as a result of a deployment."
},
"statusCheckDeadlineSeconds": {
"type": "integer",
"description": "*beta* deadline for deployments to stabilize in seconds.",
"x-intellij-html-description": "<em>beta</em> deadline for deployments to stabilize in seconds."
}
},
"preferredOrder": [
"helm",
"kpt",
"kubectl",
"kustomize",
"statusCheckDeadlineSeconds",
"kubeContext",
"logs"
],
"additionalProperties": false,
"description": "contains all the configuration needed by the deploy steps.",
"x-intellij-html-description": "contains all the configuration needed by the deploy steps."
},
"DockerArtifact": {
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "arguments passed to the docker build.",
"x-intellij-html-description": "arguments passed to the docker build.",
"default": "{}",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\"}"
]
},
"cacheFrom": {
"items": {
"type": "string"
},
"type": "array",
"description": "the Docker images used as cache sources.",
"x-intellij-html-description": "the Docker images used as cache sources.",
"default": "[]",
"examples": [
"[\"golang:1.10.1-alpine3.7\", \"alpine:3.7\"]"
]
},
"dockerfile": {
"type": "string",
"description": "locates the Dockerfile relative to workspace.",
"x-intellij-html-description": "locates the Dockerfile relative to workspace.",
"default": "Dockerfile"
},
"network": {
"type": "string",
"description": "passed through to docker and overrides the network configuration of docker builder. If unset, use whatever is configured in the underlying docker daemon. Valid modes are `host`: use the host's networking stack. `bridge`: use the bridged network configuration. `none`: no networking in the container.",
"x-intellij-html-description": "passed through to docker and overrides the network configuration of docker builder. If unset, use whatever is configured in the underlying docker daemon. Valid modes are <code>host</code>: use the host's networking stack. <code>bridge</code>: use the bridged network configuration. <code>none</code>: no networking in the container.",
"enum": [
"host",
"bridge",
"none"