forked from kcl-lang/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathargoproj_io_v1alpha1_application.k
More file actions
7486 lines (5278 loc) · 260 KB
/
Copy pathargoproj_io_v1alpha1_application.k
File metadata and controls
7486 lines (5278 loc) · 260 KB
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
"""
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
"""
import regex
import k8s.apimachinery.pkg.apis.meta.v1
_regex_match = regex.match
schema Application:
r"""
Application is a definition of Application resource.
Attributes
----------
apiVersion : str, default is "argoproj.io/v1alpha1", required
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind : str, default is "Application", required
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata : v1.ObjectMeta, default is Undefined, required
metadata
operation : ArgoprojIoV1alpha1ApplicationOperation, default is Undefined, optional
operation
spec : ArgoprojIoV1alpha1ApplicationSpec, default is Undefined, required
spec
status : ArgoprojIoV1alpha1ApplicationStatus, default is Undefined, optional
status
"""
apiVersion: "argoproj.io/v1alpha1" = "argoproj.io/v1alpha1"
kind: "Application" = "Application"
metadata: v1.ObjectMeta
operation?: ArgoprojIoV1alpha1ApplicationOperation
spec: ArgoprojIoV1alpha1ApplicationSpec
status?: ArgoprojIoV1alpha1ApplicationStatus
schema ArgoprojIoV1alpha1ApplicationOperation:
r"""
Operation contains information about a requested or running operation
Attributes
----------
info : [ArgoprojIoV1alpha1ApplicationOperationInfoItems0], default is Undefined, optional
Info is a list of informational items for this operation
initiatedBy : ArgoprojIoV1alpha1ApplicationOperationInitiatedBy, default is Undefined, optional
initiated by
retry : ArgoprojIoV1alpha1ApplicationOperationRetry, default is Undefined, optional
retry
sync : ArgoprojIoV1alpha1ApplicationOperationSync, default is Undefined, optional
sync
"""
info?: [ArgoprojIoV1alpha1ApplicationOperationInfoItems0]
initiatedBy?: ArgoprojIoV1alpha1ApplicationOperationInitiatedBy
retry?: ArgoprojIoV1alpha1ApplicationOperationRetry
sync?: ArgoprojIoV1alpha1ApplicationOperationSync
schema ArgoprojIoV1alpha1ApplicationOperationInfoItems0:
r"""
argoproj io v1alpha1 application operation info items0
Attributes
----------
name : str, default is Undefined, required
name
value : str, default is Undefined, required
value
"""
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationInitiatedBy:
r"""
InitiatedBy contains information about who initiated the operations
Attributes
----------
automated : bool, default is Undefined, optional
Automated is set to true if operation was initiated automatically by the application controller.
username : str, default is Undefined, optional
Username contains the name of a user who started operation
"""
automated?: bool
username?: str
schema ArgoprojIoV1alpha1ApplicationOperationRetry:
r"""
Retry controls the strategy to apply if a sync fails
Attributes
----------
backoff : ArgoprojIoV1alpha1ApplicationOperationRetryBackoff, default is Undefined, optional
backoff
limit : int, default is Undefined, optional
Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
refresh : bool, default is Undefined, optional
Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)
"""
backoff?: ArgoprojIoV1alpha1ApplicationOperationRetryBackoff
limit?: int
refresh?: bool
schema ArgoprojIoV1alpha1ApplicationOperationRetryBackoff:
r"""
Backoff controls how to backoff on subsequent retries of failed syncs
Attributes
----------
duration : str, default is Undefined, optional
Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
factor : int, default is Undefined, optional
Factor is a factor to multiply the base duration after each failed retry
maxDuration : str, default is Undefined, optional
MaxDuration is the maximum amount of time allowed for the backoff strategy
"""
duration?: str
factor?: int
maxDuration?: str
schema ArgoprojIoV1alpha1ApplicationOperationSync:
r"""
Sync contains parameters for the operation
Attributes
----------
autoHealAttemptsCount : int, default is Undefined, optional
SelfHealAttemptsCount contains the number of auto-heal attempts
dryRun : bool, default is Undefined, optional
DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync
manifests : [str], default is Undefined, optional
Manifests is an optional field that overrides sync source with a local directory for development
prune : bool, default is Undefined, optional
Prune specifies to delete resources from the cluster that are no longer tracked in git
resources : [ArgoprojIoV1alpha1ApplicationOperationSyncResourcesItems0], default is Undefined, optional
Resources describes which resources shall be part of the sync
revision : str, default is Undefined, optional
Revision is the revision (Git) or chart version (Helm) which to sync the application to
If omitted, will use the revision specified in app spec.
revisions : [str], default is Undefined, optional
Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to
If omitted, will use the revision specified in app spec.
source : ArgoprojIoV1alpha1ApplicationOperationSyncSource, default is Undefined, optional
source
sources : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0], default is Undefined, optional
Sources overrides the source definition set in the application.
This is typically set in a Rollback operation and is nil during a Sync operation
syncOptions : [str], default is Undefined, optional
SyncOptions provide per-sync sync-options, e.g. Validate=false
syncStrategy : ArgoprojIoV1alpha1ApplicationOperationSyncSyncStrategy, default is Undefined, optional
sync strategy
"""
autoHealAttemptsCount?: int
dryRun?: bool
manifests?: [str]
prune?: bool
resources?: [ArgoprojIoV1alpha1ApplicationOperationSyncResourcesItems0]
revision?: str
revisions?: [str]
source?: ArgoprojIoV1alpha1ApplicationOperationSyncSource
sources?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0]
syncOptions?: [str]
syncStrategy?: ArgoprojIoV1alpha1ApplicationOperationSyncSyncStrategy
schema ArgoprojIoV1alpha1ApplicationOperationSyncResourcesItems0:
r"""
SyncOperationResource contains resources to sync.
Attributes
----------
group : str, default is Undefined, optional
group
kind : str, default is Undefined, required
kind
name : str, default is Undefined, required
name
namespace : str, default is Undefined, optional
namespace
"""
group?: str
kind: str
name: str
namespace?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSource:
r"""
Source overrides the source definition set in the application.
This is typically set in a Rollback operation and is nil during a Sync operation
Attributes
----------
chart : str, default is Undefined, optional
Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
directory : ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectory, default is Undefined, optional
directory
helm : ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelm, default is Undefined, optional
helm
kustomize : ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomize, default is Undefined, optional
kustomize
name : str, default is Undefined, optional
Name is used to refer to a source and is displayed in the UI. It is used in multi-source Applications.
path : str, default is Undefined, optional
Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
plugin : ArgoprojIoV1alpha1ApplicationOperationSyncSourcePlugin, default is Undefined, optional
plugin
ref : str, default is Undefined, optional
Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.
repoURL : str, default is Undefined, required
RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
targetRevision : str, default is Undefined, optional
TargetRevision defines the revision of the source to sync the application to.
In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD.
In case of Helm, this is a semver tag for the Chart's version.
"""
chart?: str
directory?: ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectory
helm?: ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelm
kustomize?: ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomize
name?: str
path?: str
plugin?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcePlugin
ref?: str
repoURL: str
targetRevision?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectory:
r"""
Directory holds path/directory specific options
Attributes
----------
exclude : str, default is Undefined, optional
Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
include : str, default is Undefined, optional
Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
jsonnet : ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnet, default is Undefined, optional
jsonnet
recurse : bool, default is Undefined, optional
Recurse specifies whether to scan a directory recursively for manifests
"""
exclude?: str
include?: str
jsonnet?: ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnet
recurse?: bool
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnet:
r"""
Jsonnet holds options specific to Jsonnet
Attributes
----------
extVars : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetExtVarsItems0], default is Undefined, optional
ExtVars is a list of Jsonnet External Variables
libs : [str], default is Undefined, optional
Additional library search dirs
tlas : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetTlasItems0], default is Undefined, optional
TLAS is a list of Jsonnet Top-level Arguments
"""
extVars?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetExtVarsItems0]
libs?: [str]
tlas?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetTlasItems0]
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetExtVarsItems0:
r"""
JsonnetVar represents a variable to be passed to jsonnet during manifest generation
Attributes
----------
code : bool, default is Undefined, optional
code
name : str, default is Undefined, required
name
value : str, default is Undefined, required
value
"""
code?: bool
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceDirectoryJsonnetTlasItems0:
r"""
JsonnetVar represents a variable to be passed to jsonnet during manifest generation
Attributes
----------
code : bool, default is Undefined, optional
code
name : str, default is Undefined, required
name
value : str, default is Undefined, required
value
"""
code?: bool
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelm:
r"""
Helm holds helm specific options
Attributes
----------
apiVersions : [str], default is Undefined, optional
APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default,
Argo CD uses the API versions of the target cluster. The format is [group/]version/kind.
fileParameters : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmFileParametersItems0], default is Undefined, optional
FileParameters are file parameters to the helm template
ignoreMissingValueFiles : bool, default is Undefined, optional
IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values
kubeVersion : str, default is Undefined, optional
KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD
uses the Kubernetes version of the target cluster.
namespace : str, default is Undefined, optional
Namespace is an optional namespace to template with. If left empty, defaults to the app's destination namespace.
parameters : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmParametersItems0], default is Undefined, optional
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
passCredentials : bool, default is Undefined, optional
PassCredentials pass credentials to all domains (Helm's --pass-credentials)
releaseName : str, default is Undefined, optional
ReleaseName is the Helm release name to use. If omitted it will use the application name
skipCrds : bool, default is Undefined, optional
SkipCrds skips custom resource definition installation step (Helm's --skip-crds)
skipSchemaValidation : bool, default is Undefined, optional
SkipSchemaValidation skips JSON schema validation (Helm's --skip-schema-validation)
skipTests : bool, default is Undefined, optional
SkipTests skips test manifest installation step (Helm's --skip-tests).
valueFiles : [str], default is Undefined, optional
ValuesFiles is a list of Helm value files to use when generating a template
values : str, default is Undefined, optional
Values specifies Helm values to be passed to helm template, typically defined as a block. ValuesObject takes precedence over Values, so use one or the other.
valuesObject : any, default is Undefined, optional
ValuesObject specifies Helm values to be passed to helm template, defined as a map. This takes precedence over Values.
version : str, default is Undefined, optional
Version is the Helm version to use for templating ("3")
"""
apiVersions?: [str]
fileParameters?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmFileParametersItems0]
ignoreMissingValueFiles?: bool
kubeVersion?: str
namespace?: str
parameters?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmParametersItems0]
passCredentials?: bool
releaseName?: str
skipCrds?: bool
skipSchemaValidation?: bool
skipTests?: bool
valueFiles?: [str]
values?: str
valuesObject?: any
version?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmFileParametersItems0:
r"""
HelmFileParameter is a file parameter that's passed to helm template during manifest generation
Attributes
----------
name : str, default is Undefined, optional
Name is the name of the Helm parameter
path : str, default is Undefined, optional
Path is the path to the file containing the values for the Helm parameter
"""
name?: str
path?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceHelmParametersItems0:
r"""
HelmParameter is a parameter that's passed to helm template during manifest generation
Attributes
----------
forceString : bool, default is Undefined, optional
ForceString determines whether to tell Helm to interpret booleans and numbers as strings
name : str, default is Undefined, optional
Name is the name of the Helm parameter
value : str, default is Undefined, optional
Value is the value for the Helm parameter
"""
forceString?: bool
name?: str
value?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomize:
r"""
Kustomize holds kustomize specific options
Attributes
----------
apiVersions : [str], default is Undefined, optional
APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default,
Argo CD uses the API versions of the target cluster. The format is [group/]version/kind.
commonAnnotations : {str:str}, default is Undefined, optional
CommonAnnotations is a list of additional annotations to add to rendered manifests
commonAnnotationsEnvsubst : bool, default is Undefined, optional
CommonAnnotationsEnvsubst specifies whether to apply env variables substitution for annotation values
commonLabels : {str:str}, default is Undefined, optional
CommonLabels is a list of additional labels to add to rendered manifests
components : [str], default is Undefined, optional
Components specifies a list of kustomize components to add to the kustomization before building
forceCommonAnnotations : bool, default is Undefined, optional
ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
forceCommonLabels : bool, default is Undefined, optional
ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
ignoreMissingComponents : bool, default is Undefined, optional
IgnoreMissingComponents prevents kustomize from failing when components do not exist locally by not appending them to kustomization file
images : [str], default is Undefined, optional
Images is a list of Kustomize image override specifications
kubeVersion : str, default is Undefined, optional
KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD
uses the Kubernetes version of the target cluster.
labelIncludeTemplates : bool, default is Undefined, optional
LabelIncludeTemplates specifies whether to apply common labels to resource templates or not
labelWithoutSelector : bool, default is Undefined, optional
LabelWithoutSelector specifies whether to apply common labels to resource selectors or not
namePrefix : str, default is Undefined, optional
NamePrefix is a prefix appended to resources for Kustomize apps
nameSuffix : str, default is Undefined, optional
NameSuffix is a suffix appended to resources for Kustomize apps
namespace : str, default is Undefined, optional
Namespace sets the namespace that Kustomize adds to all resources
patches : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0], default is Undefined, optional
Patches is a list of Kustomize patches
replicas : [ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizeReplicasItems0], default is Undefined, optional
Replicas is a list of Kustomize Replicas override specifications
version : str, default is Undefined, optional
Version controls which version of Kustomize to use for rendering manifests
"""
apiVersions?: [str]
commonAnnotations?: {str:str}
commonAnnotationsEnvsubst?: bool
commonLabels?: {str:str}
components?: [str]
forceCommonAnnotations?: bool
forceCommonLabels?: bool
ignoreMissingComponents?: bool
images?: [str]
kubeVersion?: str
labelIncludeTemplates?: bool
labelWithoutSelector?: bool
namePrefix?: str
nameSuffix?: str
namespace?: str
patches?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0]
replicas?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizeReplicasItems0]
version?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0:
r"""
argoproj io v1alpha1 application operation sync source kustomize patches items0
Attributes
----------
options : {str:bool}, default is Undefined, optional
options
patch : str, default is Undefined, optional
patch
path : str, default is Undefined, optional
path
target : ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0Target, default is Undefined, optional
target
"""
options?: {str:bool}
patch?: str
path?: str
target?: ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0Target
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizePatchesItems0Target:
r"""
argoproj io v1alpha1 application operation sync source kustomize patches items0 target
Attributes
----------
annotationSelector : str, default is Undefined, optional
annotation selector
group : str, default is Undefined, optional
group
kind : str, default is Undefined, optional
kind
labelSelector : str, default is Undefined, optional
label selector
name : str, default is Undefined, optional
name
namespace : str, default is Undefined, optional
namespace
version : str, default is Undefined, optional
version
"""
annotationSelector?: str
group?: str
kind?: str
labelSelector?: str
name?: str
namespace?: str
version?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourceKustomizeReplicasItems0:
r"""
argoproj io v1alpha1 application operation sync source kustomize replicas items0
Attributes
----------
count : int | str, default is Undefined, required
Number of replicas
name : str, default is Undefined, required
Name of Deployment or StatefulSet
"""
count: int | str
name: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcePlugin:
r"""
Plugin holds config management plugin specific options
Attributes
----------
env : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginEnvItems0], default is Undefined, optional
Env is a list of environment variable entries
name : str, default is Undefined, optional
name
parameters : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginParametersItems0], default is Undefined, optional
parameters
"""
env?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginEnvItems0]
name?: str
parameters?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginParametersItems0]
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginEnvItems0:
r"""
EnvEntry represents an entry in the application's environment
Attributes
----------
name : str, default is Undefined, required
Name is the name of the variable, usually expressed in uppercase
value : str, default is Undefined, required
Value is the value of the variable
"""
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcePluginParametersItems0:
r"""
argoproj io v1alpha1 application operation sync source plugin parameters items0
Attributes
----------
array : [str], default is Undefined, optional
Array is the value of an array type parameter.
$map : {str:str}, default is Undefined, optional
Map is the value of a map type parameter.
name : str, default is Undefined, optional
Name is the name identifying a parameter.
string : str, default is Undefined, optional
String_ is the value of a string type parameter.
"""
array?: [str]
$map?: {str:str}
name?: str
string?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0:
r"""
ApplicationSource contains all required information about the source of an application
Attributes
----------
chart : str, default is Undefined, optional
Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
directory : ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Directory, default is Undefined, optional
directory
helm : ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Helm, default is Undefined, optional
helm
kustomize : ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Kustomize, default is Undefined, optional
kustomize
name : str, default is Undefined, optional
Name is used to refer to a source and is displayed in the UI. It is used in multi-source Applications.
path : str, default is Undefined, optional
Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
plugin : ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Plugin, default is Undefined, optional
plugin
ref : str, default is Undefined, optional
Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.
repoURL : str, default is Undefined, required
RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
targetRevision : str, default is Undefined, optional
TargetRevision defines the revision of the source to sync the application to.
In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD.
In case of Helm, this is a semver tag for the Chart's version.
"""
chart?: str
directory?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Directory
helm?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Helm
kustomize?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Kustomize
name?: str
path?: str
plugin?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Plugin
ref?: str
repoURL: str
targetRevision?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Directory:
r"""
Directory holds path/directory specific options
Attributes
----------
exclude : str, default is Undefined, optional
Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
include : str, default is Undefined, optional
Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
jsonnet : ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnet, default is Undefined, optional
jsonnet
recurse : bool, default is Undefined, optional
Recurse specifies whether to scan a directory recursively for manifests
"""
exclude?: str
include?: str
jsonnet?: ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnet
recurse?: bool
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnet:
r"""
Jsonnet holds options specific to Jsonnet
Attributes
----------
extVars : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetExtVarsItems0], default is Undefined, optional
ExtVars is a list of Jsonnet External Variables
libs : [str], default is Undefined, optional
Additional library search dirs
tlas : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetTlasItems0], default is Undefined, optional
TLAS is a list of Jsonnet Top-level Arguments
"""
extVars?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetExtVarsItems0]
libs?: [str]
tlas?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetTlasItems0]
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetExtVarsItems0:
r"""
JsonnetVar represents a variable to be passed to jsonnet during manifest generation
Attributes
----------
code : bool, default is Undefined, optional
code
name : str, default is Undefined, required
name
value : str, default is Undefined, required
value
"""
code?: bool
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0DirectoryJsonnetTlasItems0:
r"""
JsonnetVar represents a variable to be passed to jsonnet during manifest generation
Attributes
----------
code : bool, default is Undefined, optional
code
name : str, default is Undefined, required
name
value : str, default is Undefined, required
value
"""
code?: bool
name: str
value: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Helm:
r"""
Helm holds helm specific options
Attributes
----------
apiVersions : [str], default is Undefined, optional
APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default,
Argo CD uses the API versions of the target cluster. The format is [group/]version/kind.
fileParameters : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmFileParametersItems0], default is Undefined, optional
FileParameters are file parameters to the helm template
ignoreMissingValueFiles : bool, default is Undefined, optional
IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values
kubeVersion : str, default is Undefined, optional
KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD
uses the Kubernetes version of the target cluster.
namespace : str, default is Undefined, optional
Namespace is an optional namespace to template with. If left empty, defaults to the app's destination namespace.
parameters : [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmParametersItems0], default is Undefined, optional
Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
passCredentials : bool, default is Undefined, optional
PassCredentials pass credentials to all domains (Helm's --pass-credentials)
releaseName : str, default is Undefined, optional
ReleaseName is the Helm release name to use. If omitted it will use the application name
skipCrds : bool, default is Undefined, optional
SkipCrds skips custom resource definition installation step (Helm's --skip-crds)
skipSchemaValidation : bool, default is Undefined, optional
SkipSchemaValidation skips JSON schema validation (Helm's --skip-schema-validation)
skipTests : bool, default is Undefined, optional
SkipTests skips test manifest installation step (Helm's --skip-tests).
valueFiles : [str], default is Undefined, optional
ValuesFiles is a list of Helm value files to use when generating a template
values : str, default is Undefined, optional
Values specifies Helm values to be passed to helm template, typically defined as a block. ValuesObject takes precedence over Values, so use one or the other.
valuesObject : any, default is Undefined, optional
ValuesObject specifies Helm values to be passed to helm template, defined as a map. This takes precedence over Values.
version : str, default is Undefined, optional
Version is the Helm version to use for templating ("3")
"""
apiVersions?: [str]
fileParameters?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmFileParametersItems0]
ignoreMissingValueFiles?: bool
kubeVersion?: str
namespace?: str
parameters?: [ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmParametersItems0]
passCredentials?: bool
releaseName?: str
skipCrds?: bool
skipSchemaValidation?: bool
skipTests?: bool
valueFiles?: [str]
values?: str
valuesObject?: any
version?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmFileParametersItems0:
r"""
HelmFileParameter is a file parameter that's passed to helm template during manifest generation
Attributes
----------
name : str, default is Undefined, optional
Name is the name of the Helm parameter
path : str, default is Undefined, optional
Path is the path to the file containing the values for the Helm parameter
"""
name?: str
path?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0HelmParametersItems0:
r"""
HelmParameter is a parameter that's passed to helm template during manifest generation
Attributes
----------
forceString : bool, default is Undefined, optional
ForceString determines whether to tell Helm to interpret booleans and numbers as strings
name : str, default is Undefined, optional
Name is the name of the Helm parameter
value : str, default is Undefined, optional
Value is the value for the Helm parameter
"""
forceString?: bool
name?: str
value?: str
schema ArgoprojIoV1alpha1ApplicationOperationSyncSourcesItems0Kustomize:
r"""
Kustomize holds kustomize specific options
Attributes
----------
apiVersions : [str], default is Undefined, optional
APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default,
Argo CD uses the API versions of the target cluster. The format is [group/]version/kind.
commonAnnotations : {str:str}, default is Undefined, optional
CommonAnnotations is a list of additional annotations to add to rendered manifests
commonAnnotationsEnvsubst : bool, default is Undefined, optional
CommonAnnotationsEnvsubst specifies whether to apply env variables substitution for annotation values
commonLabels : {str:str}, default is Undefined, optional
CommonLabels is a list of additional labels to add to rendered manifests
components : [str], default is Undefined, optional
Components specifies a list of kustomize components to add to the kustomization before building
forceCommonAnnotations : bool, default is Undefined, optional
ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
forceCommonLabels : bool, default is Undefined, optional
ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
ignoreMissingComponents : bool, default is Undefined, optional
IgnoreMissingComponents prevents kustomize from failing when components do not exist locally by not appending them to kustomization file