forked from adace123/pulumi-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pulumi.com_stacks.yaml
1044 lines (1043 loc) · 59.5 KB
/
pulumi.com_stacks.yaml
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
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: stacks.pulumi.com
spec:
group: pulumi.com
names:
kind: Stack
listKind: StackList
plural: stacks
singular: stack
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: Stack is the Schema for the stacks API
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: StackSpec defines the desired state of Pulumi Stack being managed by this operator.
properties:
accessTokenSecret:
description: '(optional) AccessTokenSecret is the name of a secret containing the PULUMI_ACCESS_TOKEN for Pulumi access. Deprecated: use EnvRefs with a "secret" entry with the key PULUMI_ACCESS_TOKEN instead.'
type: string
backend:
description: '(optional) Backend is an optional backend URL to use for all Pulumi operations.<br/> Examples:<br/> - Pulumi Service: "https://app.pulumi.com" (default)<br/> - Self-managed Pulumi Service: "https://pulumi.acmecorp.com" <br/> - Local: "file://./einstein" <br/> - AWS: "s3://<my-pulumi-state-bucket>" <br/> - Azure: "azblob://<my-pulumi-state-bucket>" <br/> - GCP: "gs://<my-pulumi-state-bucket>" <br/> See: https://www.pulumi.com/docs/intro/concepts/state/'
type: string
branch:
description: (optional) Branch is the branch name to deploy, either the simple or fully qualified ref name, e.g. refs/heads/master. This is mutually exclusive with the Commit setting. Either value needs to be specified. When specified, the operator will periodically poll to check if the branch has any new commits. The frequency of the polling is configurable through ResyncFrequencySeconds, defaulting to every 60 seconds.
type: string
commit:
description: (optional) Commit is the hash of the commit to deploy. If used, HEAD will be in detached mode. This is mutually exclusive with the Branch setting. Either value needs to be specified.
type: string
config:
additionalProperties:
type: string
description: (optional) Config is the configuration for this stack, which can be optionally specified inline. If this is omitted, configuration is assumed to be checked in and taken from the source repository.
type: object
continueResyncOnCommitMatch:
description: (optional) ContinueResyncOnCommitMatch - when true - informs the operator to continue trying to update stacks even if the commit matches. This might be useful in environments where Pulumi programs have dynamic elements for example, calls to internal APIs where GitOps style commit tracking is not sufficient. Defaults to false, i.e. when a particular commit is successfully run, the operator will not attempt to rerun the program at that commit again.
type: boolean
destroyOnFinalize:
description: (optional) DestroyOnFinalize can be set to true to destroy the stack completely upon deletion of the CRD.
type: boolean
envRefs:
additionalProperties:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
description: (optional) EnvRefs is an optional map containing environment variables as keys and stores descriptors to where the variables' values should be loaded from (one of literal, environment variable, file on the filesystem, or Kubernetes secret) as values.
type: object
envSecrets:
description: '(optional) SecretEnvs is an optional array of secret names containing environment variables to set. Deprecated: use EnvRefs instead.'
items:
type: string
type: array
envs:
description: '(optional) Envs is an optional array of config maps containing environment variables to set. Deprecated: use EnvRefs instead.'
items:
type: string
type: array
expectNoRefreshChanges:
description: (optional) ExpectNoRefreshChanges can be set to true if a stack is not expected to have changes during a refresh before the update is run. This could occur, for example, is a resource's state is changing outside of Pulumi (e.g., metadata, timestamps).
type: boolean
gitAuth:
description: '(optional) GitAuth allows configuring git authentication options There are 3 different authentication options: * SSH private key (and its optional password) * Personal access token * Basic auth username and password Only one authentication mode will be considered if more than one option is specified, with ssh private key/password preferred first, then personal access token, and finally basic auth credentials.'
properties:
accessToken:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
basicAuth:
description: BasicAuth configures git authentication through basic auth — i.e. username and password. Both UserName and Password are required.
properties:
password:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
userName:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
required:
- password
- userName
type: object
sshAuth:
description: SSHAuth configures ssh-based auth for git authentication. SSHPrivateKey is required but password is optional.
properties:
password:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
sshPrivateKey:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
required:
- sshPrivateKey
type: object
type: object
gitAuthSecret:
description: '(optional) GitAuthSecret is the the name of a secret containing an authentication option for the git repository. There are 3 different authentication options: * Personal access token * SSH private key (and it''s optional password) * Basic auth username and password Only one authentication mode will be considered if more than one option is specified, with ssh private key/password preferred first, then personal access token, and finally basic auth credentials. Deprecated. Use GitAuth instead.'
type: string
projectRepo:
description: ProjectRepo is the git source control repository from which we fetch the project code and configuration.
type: string
refresh:
description: (optional) Refresh can be set to true to refresh the stack before it is updated.
type: boolean
repoDir:
description: (optional) RepoDir is the directory to work from in the project's source repository where Pulumi.yaml is located. It is used in case Pulumi.yaml is not in the project source root.
type: string
resyncFrequencySeconds:
description: (optional) ResyncFrequencySeconds when set to a non-zero value, triggers a resync of the stack at the specified frequency even if no changes to the custom-resource are detected. If branch tracking is enabled (branch is non-empty), commit polling will occur at this frequency. The minimal resync frequency supported is 60 seconds.
format: int64
type: integer
retryOnUpdateConflict:
description: (optional) RetryOnUpdateConflict issues a stack update retry reconciliation loop in the event that the update hits a HTTP 409 conflict due to another update in progress. This is only recommended if you are sure that the stack updates are idempotent, and if you are willing to accept retry loops until all spawned retries succeed. This will also create a more populated, and randomized activity timeline for the stack in the Pulumi Service.
type: boolean
secrets:
additionalProperties:
type: string
description: '(optional) Secrets is the secret configuration for this stack, which can be optionally specified inline. If this is omitted, secrets configuration is assumed to be checked in and taken from the source repository. Deprecated: use SecretRefs instead.'
type: object
secretsProvider:
description: '(optional) SecretsProvider is used to initialize a Stack with alternative encryption. Examples: - AWS: "awskms:///arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34bc-56ef-1234567890ab?region=us-east-1" - Azure: "azurekeyvault://acmecorpvault.vault.azure.net/keys/mykeyname" - GCP: "gcpkms://projects/MYPROJECT/locations/MYLOCATION/keyRings/MYKEYRING/cryptoKeys/MYKEY" - See: https://www.pulumi.com/docs/intro/concepts/secrets/#initializing-a-stack-with-alternative-encryption'
type: string
secretsRef:
additionalProperties:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
description: (optional) SecretRefs is the secret configuration for this stack which can be specified through ResourceRef. If this is omitted, secrets configuration is assumed to be checked in and taken from the source repository.
type: object
stack:
description: Stack is the fully qualified name of the stack to deploy (<org>/<stack>).
type: string
useLocalStackOnly:
description: (optional) UseLocalStackOnly can be set to true to prevent the operator from creating stacks that do not exist in the tracking git repo. The default behavior is to create a stack if it doesn't exist.
type: boolean
required:
- projectRepo
- stack
type: object
status:
description: StackStatus defines the observed state of Stack
properties:
lastUpdate:
description: LastUpdate contains details of the status of the last update.
properties:
lastAttemptedCommit:
description: Last commit attempted
type: string
lastResyncTime:
description: LastResyncTime contains a timestamp for the last time a resync of the stack took place.
format: date-time
type: string
lastSuccessfulCommit:
description: Last commit successfully applied
type: string
permalink:
description: Permalink is the Pulumi Console URL of the stack operation.
type: string
state:
description: State is the state of the stack update - one of `succeeded` or `failed`
type: string
type: object
outputs:
additionalProperties:
x-kubernetes-preserve-unknown-fields: true
description: Outputs contains the exported stack output variables resulting from a deployment.
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}
- name: v1alpha1
schema:
openAPIV3Schema:
description: 'Stack is the Schema for the stacks API. Deprecated: Note Stacks from pulumi.com/v1alpha1 is deprecated in favor of pulumi.com/v1. It is completely backward compatible. Users are strongly encouraged to switch to pulumi.com/v1.'
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: StackSpec defines the desired state of Pulumi Stack being managed by this operator.
properties:
accessTokenSecret:
description: '(optional) AccessTokenSecret is the name of a secret containing the PULUMI_ACCESS_TOKEN for Pulumi access. Deprecated: use EnvRefs with a "secret" entry with the key PULUMI_ACCESS_TOKEN instead.'
type: string
backend:
description: '(optional) Backend is an optional backend URL to use for all Pulumi operations.<br/> Examples:<br/> - Pulumi Service: "https://app.pulumi.com" (default)<br/> - Self-managed Pulumi Service: "https://pulumi.acmecorp.com" <br/> - Local: "file://./einstein" <br/> - AWS: "s3://<my-pulumi-state-bucket>" <br/> - Azure: "azblob://<my-pulumi-state-bucket>" <br/> - GCP: "gs://<my-pulumi-state-bucket>" <br/> See: https://www.pulumi.com/docs/intro/concepts/state/'
type: string
branch:
description: (optional) Branch is the branch name to deploy, either the simple or fully qualified ref name, e.g. refs/heads/master. This is mutually exclusive with the Commit setting. Either value needs to be specified. When specified, the operator will periodically poll to check if the branch has any new commits. The frequency of the polling is configurable through ResyncFrequencySeconds, defaulting to every 60 seconds.
type: string
commit:
description: (optional) Commit is the hash of the commit to deploy. If used, HEAD will be in detached mode. This is mutually exclusive with the Branch setting. Either value needs to be specified.
type: string
config:
additionalProperties:
type: string
description: (optional) Config is the configuration for this stack, which can be optionally specified inline. If this is omitted, configuration is assumed to be checked in and taken from the source repository.
type: object
continueResyncOnCommitMatch:
description: (optional) ContinueResyncOnCommitMatch - when true - informs the operator to continue trying to update stacks even if the commit matches. This might be useful in environments where Pulumi programs have dynamic elements for example, calls to internal APIs where GitOps style commit tracking is not sufficient. Defaults to false, i.e. when a particular commit is successfully run, the operator will not attempt to rerun the program at that commit again.
type: boolean
destroyOnFinalize:
description: (optional) DestroyOnFinalize can be set to true to destroy the stack completely upon deletion of the CRD.
type: boolean
envRefs:
additionalProperties:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
description: (optional) EnvRefs is an optional map containing environment variables as keys and stores descriptors to where the variables' values should be loaded from (one of literal, environment variable, file on the filesystem, or Kubernetes secret) as values.
type: object
envSecrets:
description: '(optional) SecretEnvs is an optional array of secret names containing environment variables to set. Deprecated: use EnvRefs instead.'
items:
type: string
type: array
envs:
description: '(optional) Envs is an optional array of config maps containing environment variables to set. Deprecated: use EnvRefs instead.'
items:
type: string
type: array
expectNoRefreshChanges:
description: (optional) ExpectNoRefreshChanges can be set to true if a stack is not expected to have changes during a refresh before the update is run. This could occur, for example, is a resource's state is changing outside of Pulumi (e.g., metadata, timestamps).
type: boolean
gitAuth:
description: '(optional) GitAuth allows configuring git authentication options There are 3 different authentication options: * SSH private key (and its optional password) * Personal access token * Basic auth username and password Only one authentication mode will be considered if more than one option is specified, with ssh private key/password preferred first, then personal access token, and finally basic auth credentials.'
properties:
accessToken:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
basicAuth:
description: BasicAuth configures git authentication through basic auth — i.e. username and password. Both UserName and Password are required.
properties:
password:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
userName:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
required:
- password
- userName
type: object
sshAuth:
description: SSHAuth configures ssh-based auth for git authentication. SSHPrivateKey is required but password is optional.
properties:
password:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
sshPrivateKey:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
required:
- sshPrivateKey
type: object
type: object
gitAuthSecret:
description: '(optional) GitAuthSecret is the the name of a secret containing an authentication option for the git repository. There are 3 different authentication options: * Personal access token * SSH private key (and it''s optional password) * Basic auth username and password Only one authentication mode will be considered if more than one option is specified, with ssh private key/password preferred first, then personal access token, and finally basic auth credentials. Deprecated. Use GitAuth instead.'
type: string
projectRepo:
description: ProjectRepo is the git source control repository from which we fetch the project code and configuration.
type: string
refresh:
description: (optional) Refresh can be set to true to refresh the stack before it is updated.
type: boolean
repoDir:
description: (optional) RepoDir is the directory to work from in the project's source repository where Pulumi.yaml is located. It is used in case Pulumi.yaml is not in the project source root.
type: string
resyncFrequencySeconds:
description: (optional) ResyncFrequencySeconds when set to a non-zero value, triggers a resync of the stack at the specified frequency even if no changes to the custom-resource are detected. If branch tracking is enabled (branch is non-empty), commit polling will occur at this frequency. The minimal resync frequency supported is 60 seconds.
format: int64
type: integer
retryOnUpdateConflict:
description: (optional) RetryOnUpdateConflict issues a stack update retry reconciliation loop in the event that the update hits a HTTP 409 conflict due to another update in progress. This is only recommended if you are sure that the stack updates are idempotent, and if you are willing to accept retry loops until all spawned retries succeed. This will also create a more populated, and randomized activity timeline for the stack in the Pulumi Service.
type: boolean
secrets:
additionalProperties:
type: string
description: '(optional) Secrets is the secret configuration for this stack, which can be optionally specified inline. If this is omitted, secrets configuration is assumed to be checked in and taken from the source repository. Deprecated: use SecretRefs instead.'
type: object
secretsProvider:
description: '(optional) SecretsProvider is used to initialize a Stack with alternative encryption. Examples: - AWS: "awskms:///arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34bc-56ef-1234567890ab?region=us-east-1" - Azure: "azurekeyvault://acmecorpvault.vault.azure.net/keys/mykeyname" - GCP: "gcpkms://projects/MYPROJECT/locations/MYLOCATION/keyRings/MYKEYRING/cryptoKeys/MYKEY" - See: https://www.pulumi.com/docs/intro/concepts/secrets/#initializing-a-stack-with-alternative-encryption'
type: string
secretsRef:
additionalProperties:
description: ResourceRef identifies a resource from which information can be loaded. Environment variables, files on the filesystem, Kubernetes secrets and literal strings are currently supported.
properties:
env:
description: Env selects an environment variable set on the operator process
properties:
name:
description: Name of the environment variable
type: string
required:
- name
type: object
filesystem:
description: FileSystem selects a file on the operator's file system
properties:
path:
description: Path on the filesystem to use to load information from.
type: string
required:
- path
type: object
literal:
description: LiteralRef refers to a literal value
properties:
value:
description: Value to load
type: string
required:
- value
type: object
secret:
description: SecretRef refers to a Kubernetes secret
properties:
key:
description: Key within the secret to use.
type: string
name:
description: Name of the secret
type: string
namespace:
description: Namespace where the secret is stored. Defaults to 'default' if omitted.
type: string
required:
- key
- name
type: object
type:
description: 'SelectorType is required and signifies the type of selector. Must be one of: Env, FS, Secret, Literal'
type: string
required:
- type
type: object
description: (optional) SecretRefs is the secret configuration for this stack which can be specified through ResourceRef. If this is omitted, secrets configuration is assumed to be checked in and taken from the source repository.
type: object
stack:
description: Stack is the fully qualified name of the stack to deploy (<org>/<stack>).
type: string
useLocalStackOnly:
description: (optional) UseLocalStackOnly can be set to true to prevent the operator from creating stacks that do not exist in the tracking git repo. The default behavior is to create a stack if it doesn't exist.
type: boolean