alasio 5.1.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/cli/src/branches.js +6 -14
  2. package/dist/cli/src/branches.js.map +1 -1
  3. package/dist/cli/src/capacity.js +46 -0
  4. package/dist/cli/src/capacity.js.map +1 -0
  5. package/dist/cli/src/cluster/k3s.js +12 -4
  6. package/dist/cli/src/cluster/k3s.js.map +1 -1
  7. package/dist/cli/src/commands/branch.js +2 -1
  8. package/dist/cli/src/commands/branch.js.map +1 -1
  9. package/dist/cli/src/commands/restore-filer-store.js +236 -0
  10. package/dist/cli/src/commands/restore-filer-store.js.map +1 -0
  11. package/dist/cli/src/commands/status.js +110 -9
  12. package/dist/cli/src/commands/status.js.map +1 -1
  13. package/dist/cli/src/commands/uninstall.js +1 -1
  14. package/dist/cli/src/commands/uninstall.js.map +1 -1
  15. package/dist/cli/src/commands/up.js +2 -1
  16. package/dist/cli/src/commands/up.js.map +1 -1
  17. package/dist/cli/src/commands.js +2 -1
  18. package/dist/cli/src/commands.js.map +1 -1
  19. package/dist/cli/src/config.js +13 -4
  20. package/dist/cli/src/config.js.map +1 -1
  21. package/dist/cli/src/install.js +9 -3
  22. package/dist/cli/src/install.js.map +1 -1
  23. package/dist/cli/src/kube/api.js +11 -3
  24. package/dist/cli/src/kube/api.js.map +1 -1
  25. package/dist/cli/src/kube/apply.js +116 -13
  26. package/dist/cli/src/kube/apply.js.map +1 -1
  27. package/dist/cli/src/kube/autoscalers.js +48 -0
  28. package/dist/cli/src/kube/autoscalers.js.map +1 -0
  29. package/dist/cli/src/kube/object-store-scale.js +116 -0
  30. package/dist/cli/src/kube/object-store-scale.js.map +1 -0
  31. package/dist/cli/src/kube/rollout.js +2 -0
  32. package/dist/cli/src/kube/rollout.js.map +1 -1
  33. package/dist/cli/src/manifests/admission.js +296 -0
  34. package/dist/cli/src/manifests/admission.js.map +1 -0
  35. package/dist/cli/src/manifests/agent-sandbox.js +6 -3
  36. package/dist/cli/src/manifests/agent-sandbox.js.map +1 -1
  37. package/dist/cli/src/manifests/alasio.js +34 -12
  38. package/dist/cli/src/manifests/alasio.js.map +1 -1
  39. package/dist/cli/src/manifests/cloudeventsources.eventing.keda.sh.json +219 -0
  40. package/dist/cli/src/manifests/clustercloudeventsources.eventing.keda.sh.json +218 -0
  41. package/dist/cli/src/manifests/clustertriggerauthentications.keda.sh.json +997 -0
  42. package/dist/cli/src/manifests/collector.js +77 -38
  43. package/dist/cli/src/manifests/collector.js.map +1 -1
  44. package/dist/cli/src/manifests/common.js +11 -0
  45. package/dist/cli/src/manifests/common.js.map +1 -1
  46. package/dist/cli/src/manifests/config.js +217 -31
  47. package/dist/cli/src/manifests/config.js.map +1 -1
  48. package/dist/cli/src/manifests/controllers.js +39 -0
  49. package/dist/cli/src/manifests/controllers.js.map +1 -0
  50. package/dist/cli/src/manifests/disruption.js +47 -0
  51. package/dist/cli/src/manifests/disruption.js.map +1 -0
  52. package/dist/cli/src/manifests/grafana.js +49 -5
  53. package/dist/cli/src/manifests/grafana.js.map +1 -1
  54. package/dist/cli/src/manifests/headroom.js +40 -0
  55. package/dist/cli/src/manifests/headroom.js.map +1 -0
  56. package/dist/cli/src/manifests/index.js +12 -3
  57. package/dist/cli/src/manifests/index.js.map +1 -1
  58. package/dist/cli/src/manifests/juicefs-csi.js +9 -6
  59. package/dist/cli/src/manifests/juicefs-csi.js.map +1 -1
  60. package/dist/cli/src/manifests/keda.js +271 -0
  61. package/dist/cli/src/manifests/keda.js.map +1 -0
  62. package/dist/cli/src/manifests/lake.js +7 -3
  63. package/dist/cli/src/manifests/lake.js.map +1 -1
  64. package/dist/cli/src/manifests/neon.js +33 -25
  65. package/dist/cli/src/manifests/neon.js.map +1 -1
  66. package/dist/cli/src/manifests/network-policies.js +90 -10
  67. package/dist/cli/src/manifests/network-policies.js.map +1 -1
  68. package/dist/cli/src/manifests/object-store.js +506 -77
  69. package/dist/cli/src/manifests/object-store.js.map +1 -1
  70. package/dist/cli/src/manifests/priorities.js +30 -0
  71. package/dist/cli/src/manifests/priorities.js.map +1 -0
  72. package/dist/cli/src/manifests/scaledjobs.keda.sh.json +7507 -0
  73. package/dist/cli/src/manifests/scaledobjects.keda.sh.json +564 -0
  74. package/dist/cli/src/manifests/scalers.js +24 -0
  75. package/dist/cli/src/manifests/scalers.js.map +1 -0
  76. package/dist/cli/src/manifests/sizing.js +40 -0
  77. package/dist/cli/src/manifests/sizing.js.map +1 -0
  78. package/dist/cli/src/manifests/triggerauthentications.keda.sh.json +992 -0
  79. package/dist/cli/src/manifests/valkey.js +63 -35
  80. package/dist/cli/src/manifests/valkey.js.map +1 -1
  81. package/dist/cli/src/manifests/verticalpodautoscalercheckpoints.autoscaling.k8s.io.json +250 -0
  82. package/dist/cli/src/manifests/verticalpodautoscalers.autoscaling.k8s.io.json +837 -0
  83. package/dist/cli/src/manifests/vpa.js +220 -0
  84. package/dist/cli/src/manifests/vpa.js.map +1 -0
  85. package/dist/cli/src/manifests/workspace-storage.js +12 -2
  86. package/dist/cli/src/manifests/workspace-storage.js.map +1 -1
  87. package/dist/cli/src/object-store.js +57 -0
  88. package/dist/cli/src/object-store.js.map +1 -0
  89. package/dist/cli/src/release.js +6 -6
  90. package/dist/cli/src/target.js +1 -1
  91. package/dist/cli/src/target.js.map +1 -1
  92. package/dist/neon/control/secrets.js +3 -0
  93. package/dist/neon/control/secrets.js.map +1 -1
  94. package/dist/src/kube/busy-label.js +13 -0
  95. package/dist/src/kube/busy-label.js.map +1 -0
  96. package/dist/src/kube/config.js +5 -1
  97. package/dist/src/kube/config.js.map +1 -1
  98. package/dist/src/kube/sandbox-shape.js +62 -0
  99. package/dist/src/kube/sandbox-shape.js.map +1 -0
  100. package/dist/src/sandbox/names.js +44 -0
  101. package/dist/src/sandbox/names.js.map +1 -0
  102. package/package.json +1 -1
@@ -0,0 +1,992 @@
1
+ {
2
+ "apiVersion": "apiextensions.k8s.io/v1",
3
+ "kind": "CustomResourceDefinition",
4
+ "metadata": {
5
+ "annotations": {
6
+ "controller-gen.kubebuilder.io/version": "v0.21.0"
7
+ },
8
+ "labels": {
9
+ "app.kubernetes.io/part-of": "keda-operator",
10
+ "app.kubernetes.io/version": "2.21.0"
11
+ },
12
+ "name": "triggerauthentications.keda.sh"
13
+ },
14
+ "spec": {
15
+ "group": "keda.sh",
16
+ "names": {
17
+ "kind": "TriggerAuthentication",
18
+ "listKind": "TriggerAuthenticationList",
19
+ "plural": "triggerauthentications",
20
+ "shortNames": [
21
+ "ta",
22
+ "triggerauth"
23
+ ],
24
+ "singular": "triggerauthentication"
25
+ },
26
+ "scope": "Namespaced",
27
+ "versions": [
28
+ {
29
+ "additionalPrinterColumns": [
30
+ {
31
+ "jsonPath": ".spec.podIdentity.provider",
32
+ "name": "PodIdentity",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "jsonPath": ".spec.secretTargetRef[*].name",
37
+ "name": "Secret",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "jsonPath": ".spec.env[*].name",
42
+ "name": "Env",
43
+ "type": "string"
44
+ },
45
+ {
46
+ "jsonPath": ".spec.hashiCorpVault.address",
47
+ "name": "VaultAddress",
48
+ "type": "string"
49
+ },
50
+ {
51
+ "jsonPath": ".status.scaledobjects",
52
+ "name": "ScaledObjects",
53
+ "priority": 1,
54
+ "type": "string"
55
+ },
56
+ {
57
+ "jsonPath": ".status.scaledjobs",
58
+ "name": "ScaledJobs",
59
+ "priority": 1,
60
+ "type": "string"
61
+ }
62
+ ],
63
+ "name": "v1alpha1",
64
+ "schema": {
65
+ "openAPIV3Schema": {
66
+ "description": "TriggerAuthentication defines how a trigger can authenticate",
67
+ "properties": {
68
+ "apiVersion": {
69
+ "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
70
+ "type": "string"
71
+ },
72
+ "kind": {
73
+ "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
74
+ "type": "string"
75
+ },
76
+ "metadata": {
77
+ "type": "object"
78
+ },
79
+ "spec": {
80
+ "description": "TriggerAuthenticationSpec defines the various ways to authenticate",
81
+ "properties": {
82
+ "awsSecretManager": {
83
+ "description": "AwsSecretManager is used to authenticate using AwsSecretManager",
84
+ "properties": {
85
+ "credentials": {
86
+ "properties": {
87
+ "accessKey": {
88
+ "properties": {
89
+ "valueFrom": {
90
+ "properties": {
91
+ "secretKeyRef": {
92
+ "properties": {
93
+ "key": {
94
+ "type": "string"
95
+ },
96
+ "name": {
97
+ "type": "string"
98
+ }
99
+ },
100
+ "required": [
101
+ "key",
102
+ "name"
103
+ ],
104
+ "type": "object"
105
+ }
106
+ },
107
+ "required": [
108
+ "secretKeyRef"
109
+ ],
110
+ "type": "object"
111
+ }
112
+ },
113
+ "required": [
114
+ "valueFrom"
115
+ ],
116
+ "type": "object"
117
+ },
118
+ "accessSecretKey": {
119
+ "properties": {
120
+ "valueFrom": {
121
+ "properties": {
122
+ "secretKeyRef": {
123
+ "properties": {
124
+ "key": {
125
+ "type": "string"
126
+ },
127
+ "name": {
128
+ "type": "string"
129
+ }
130
+ },
131
+ "required": [
132
+ "key",
133
+ "name"
134
+ ],
135
+ "type": "object"
136
+ }
137
+ },
138
+ "required": [
139
+ "secretKeyRef"
140
+ ],
141
+ "type": "object"
142
+ }
143
+ },
144
+ "required": [
145
+ "valueFrom"
146
+ ],
147
+ "type": "object"
148
+ },
149
+ "accessToken": {
150
+ "properties": {
151
+ "valueFrom": {
152
+ "properties": {
153
+ "secretKeyRef": {
154
+ "properties": {
155
+ "key": {
156
+ "type": "string"
157
+ },
158
+ "name": {
159
+ "type": "string"
160
+ }
161
+ },
162
+ "required": [
163
+ "key",
164
+ "name"
165
+ ],
166
+ "type": "object"
167
+ }
168
+ },
169
+ "required": [
170
+ "secretKeyRef"
171
+ ],
172
+ "type": "object"
173
+ }
174
+ },
175
+ "required": [
176
+ "valueFrom"
177
+ ],
178
+ "type": "object"
179
+ }
180
+ },
181
+ "required": [
182
+ "accessKey",
183
+ "accessSecretKey"
184
+ ],
185
+ "type": "object"
186
+ },
187
+ "podIdentity": {
188
+ "description": "AuthPodIdentity allows users to select the platform native identity\nmechanism",
189
+ "properties": {
190
+ "externalID": {
191
+ "description": "ExternalID sets the External ID to be used when assuming an identity. This is only applicable when using AWS pod identity with a RoleArn.",
192
+ "type": "string"
193
+ },
194
+ "identityAuthorityHost": {
195
+ "description": "Set identityAuthorityHost to override the default Azure authority host. If this is set, then the IdentityTenantID must also be set",
196
+ "type": "string"
197
+ },
198
+ "identityId": {
199
+ "type": "string"
200
+ },
201
+ "identityOwner": {
202
+ "description": "IdentityOwner configures which identity has to be used during auto discovery, keda or the scaled workload. Mutually exclusive with roleArn",
203
+ "enum": [
204
+ "keda",
205
+ "workload"
206
+ ],
207
+ "type": "string"
208
+ },
209
+ "identityTenantId": {
210
+ "description": "Set identityTenantId to override the default Azure tenant id. If this is set, then the IdentityID must also be set",
211
+ "type": "string"
212
+ },
213
+ "provider": {
214
+ "description": "PodIdentityProvider contains the list of providers",
215
+ "enum": [
216
+ "azure-workload",
217
+ "gcp",
218
+ "aws",
219
+ "aws-eks",
220
+ "none"
221
+ ],
222
+ "type": "string"
223
+ },
224
+ "roleArn": {
225
+ "description": "RoleArn sets the AWS RoleArn to be used. Mutually exclusive with IdentityOwner",
226
+ "type": "string"
227
+ }
228
+ },
229
+ "required": [
230
+ "provider"
231
+ ],
232
+ "type": "object"
233
+ },
234
+ "region": {
235
+ "type": "string"
236
+ },
237
+ "secrets": {
238
+ "items": {
239
+ "properties": {
240
+ "name": {
241
+ "type": "string"
242
+ },
243
+ "parameter": {
244
+ "type": "string"
245
+ },
246
+ "secretKey": {
247
+ "type": "string"
248
+ },
249
+ "versionId": {
250
+ "type": "string"
251
+ },
252
+ "versionStage": {
253
+ "type": "string"
254
+ }
255
+ },
256
+ "required": [
257
+ "name",
258
+ "parameter"
259
+ ],
260
+ "type": "object"
261
+ },
262
+ "minItems": 1,
263
+ "type": "array"
264
+ }
265
+ },
266
+ "required": [
267
+ "secrets"
268
+ ],
269
+ "type": "object"
270
+ },
271
+ "azureKeyVault": {
272
+ "description": "AzureKeyVault is used to authenticate using Azure Key Vault",
273
+ "properties": {
274
+ "cloud": {
275
+ "properties": {
276
+ "activeDirectoryEndpoint": {
277
+ "type": "string"
278
+ },
279
+ "keyVaultResourceURL": {
280
+ "type": "string"
281
+ },
282
+ "type": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "required": [
287
+ "type"
288
+ ],
289
+ "type": "object"
290
+ },
291
+ "credentials": {
292
+ "properties": {
293
+ "clientId": {
294
+ "type": "string"
295
+ },
296
+ "clientSecret": {
297
+ "properties": {
298
+ "valueFrom": {
299
+ "properties": {
300
+ "secretKeyRef": {
301
+ "properties": {
302
+ "key": {
303
+ "type": "string"
304
+ },
305
+ "name": {
306
+ "type": "string"
307
+ }
308
+ },
309
+ "required": [
310
+ "key",
311
+ "name"
312
+ ],
313
+ "type": "object"
314
+ }
315
+ },
316
+ "required": [
317
+ "secretKeyRef"
318
+ ],
319
+ "type": "object"
320
+ }
321
+ },
322
+ "required": [
323
+ "valueFrom"
324
+ ],
325
+ "type": "object"
326
+ },
327
+ "tenantId": {
328
+ "type": "string"
329
+ }
330
+ },
331
+ "required": [
332
+ "clientId",
333
+ "clientSecret",
334
+ "tenantId"
335
+ ],
336
+ "type": "object"
337
+ },
338
+ "podIdentity": {
339
+ "description": "AuthPodIdentity allows users to select the platform native identity\nmechanism",
340
+ "properties": {
341
+ "externalID": {
342
+ "description": "ExternalID sets the External ID to be used when assuming an identity. This is only applicable when using AWS pod identity with a RoleArn.",
343
+ "type": "string"
344
+ },
345
+ "identityAuthorityHost": {
346
+ "description": "Set identityAuthorityHost to override the default Azure authority host. If this is set, then the IdentityTenantID must also be set",
347
+ "type": "string"
348
+ },
349
+ "identityId": {
350
+ "type": "string"
351
+ },
352
+ "identityOwner": {
353
+ "description": "IdentityOwner configures which identity has to be used during auto discovery, keda or the scaled workload. Mutually exclusive with roleArn",
354
+ "enum": [
355
+ "keda",
356
+ "workload"
357
+ ],
358
+ "type": "string"
359
+ },
360
+ "identityTenantId": {
361
+ "description": "Set identityTenantId to override the default Azure tenant id. If this is set, then the IdentityID must also be set",
362
+ "type": "string"
363
+ },
364
+ "provider": {
365
+ "description": "PodIdentityProvider contains the list of providers",
366
+ "enum": [
367
+ "azure-workload",
368
+ "gcp",
369
+ "aws",
370
+ "aws-eks",
371
+ "none"
372
+ ],
373
+ "type": "string"
374
+ },
375
+ "roleArn": {
376
+ "description": "RoleArn sets the AWS RoleArn to be used. Mutually exclusive with IdentityOwner",
377
+ "type": "string"
378
+ }
379
+ },
380
+ "required": [
381
+ "provider"
382
+ ],
383
+ "type": "object"
384
+ },
385
+ "secrets": {
386
+ "items": {
387
+ "properties": {
388
+ "name": {
389
+ "type": "string"
390
+ },
391
+ "parameter": {
392
+ "type": "string"
393
+ },
394
+ "version": {
395
+ "type": "string"
396
+ }
397
+ },
398
+ "required": [
399
+ "name",
400
+ "parameter"
401
+ ],
402
+ "type": "object"
403
+ },
404
+ "minItems": 1,
405
+ "type": "array"
406
+ },
407
+ "vaultUri": {
408
+ "type": "string"
409
+ }
410
+ },
411
+ "required": [
412
+ "secrets",
413
+ "vaultUri"
414
+ ],
415
+ "type": "object"
416
+ },
417
+ "azureServicePrincipal": {
418
+ "description": "AzureServicePrincipal defines Microsoft Entra service principal credentials\nthat can be shared by Azure scalers.",
419
+ "properties": {
420
+ "activeDirectoryEndpoint": {
421
+ "description": "ActiveDirectoryEndpoint is required when cloud is set to Private.",
422
+ "type": "string"
423
+ },
424
+ "clientCertificate": {
425
+ "description": "AzureServicePrincipalCredential references credential data stored in a\nKubernetes Secret.",
426
+ "properties": {
427
+ "valueFrom": {
428
+ "properties": {
429
+ "secretKeyRef": {
430
+ "properties": {
431
+ "key": {
432
+ "type": "string"
433
+ },
434
+ "name": {
435
+ "type": "string"
436
+ }
437
+ },
438
+ "required": [
439
+ "key",
440
+ "name"
441
+ ],
442
+ "type": "object"
443
+ }
444
+ },
445
+ "required": [
446
+ "secretKeyRef"
447
+ ],
448
+ "type": "object"
449
+ }
450
+ },
451
+ "required": [
452
+ "valueFrom"
453
+ ],
454
+ "type": "object"
455
+ },
456
+ "clientCertificatePassword": {
457
+ "description": "AzureServicePrincipalCredential references credential data stored in a\nKubernetes Secret.",
458
+ "properties": {
459
+ "valueFrom": {
460
+ "properties": {
461
+ "secretKeyRef": {
462
+ "properties": {
463
+ "key": {
464
+ "type": "string"
465
+ },
466
+ "name": {
467
+ "type": "string"
468
+ }
469
+ },
470
+ "required": [
471
+ "key",
472
+ "name"
473
+ ],
474
+ "type": "object"
475
+ }
476
+ },
477
+ "required": [
478
+ "secretKeyRef"
479
+ ],
480
+ "type": "object"
481
+ }
482
+ },
483
+ "required": [
484
+ "valueFrom"
485
+ ],
486
+ "type": "object"
487
+ },
488
+ "clientId": {
489
+ "type": "string"
490
+ },
491
+ "clientSecret": {
492
+ "description": "AzureServicePrincipalCredential references credential data stored in a\nKubernetes Secret.",
493
+ "properties": {
494
+ "valueFrom": {
495
+ "properties": {
496
+ "secretKeyRef": {
497
+ "properties": {
498
+ "key": {
499
+ "type": "string"
500
+ },
501
+ "name": {
502
+ "type": "string"
503
+ }
504
+ },
505
+ "required": [
506
+ "key",
507
+ "name"
508
+ ],
509
+ "type": "object"
510
+ }
511
+ },
512
+ "required": [
513
+ "secretKeyRef"
514
+ ],
515
+ "type": "object"
516
+ }
517
+ },
518
+ "required": [
519
+ "valueFrom"
520
+ ],
521
+ "type": "object"
522
+ },
523
+ "cloud": {
524
+ "description": "Cloud specifies the Azure cloud environment. Defaults to AzurePublicCloud.",
525
+ "type": "string"
526
+ },
527
+ "tenantId": {
528
+ "type": "string"
529
+ }
530
+ },
531
+ "required": [
532
+ "clientId",
533
+ "tenantId"
534
+ ],
535
+ "type": "object"
536
+ },
537
+ "boundServiceAccountToken": {
538
+ "items": {
539
+ "properties": {
540
+ "parameter": {
541
+ "type": "string"
542
+ },
543
+ "serviceAccountName": {
544
+ "type": "string"
545
+ }
546
+ },
547
+ "required": [
548
+ "parameter",
549
+ "serviceAccountName"
550
+ ],
551
+ "type": "object"
552
+ },
553
+ "type": "array"
554
+ },
555
+ "configMapTargetRef": {
556
+ "items": {
557
+ "description": "AuthConfigMapTargetRef is used to authenticate using a reference to a config map",
558
+ "properties": {
559
+ "key": {
560
+ "type": "string"
561
+ },
562
+ "name": {
563
+ "type": "string"
564
+ },
565
+ "parameter": {
566
+ "type": "string"
567
+ }
568
+ },
569
+ "required": [
570
+ "key",
571
+ "name",
572
+ "parameter"
573
+ ],
574
+ "type": "object"
575
+ },
576
+ "type": "array"
577
+ },
578
+ "env": {
579
+ "items": {
580
+ "description": "AuthEnvironment is used to authenticate using environment variables\nin the destination ScaleTarget spec",
581
+ "properties": {
582
+ "containerName": {
583
+ "type": "string"
584
+ },
585
+ "name": {
586
+ "type": "string"
587
+ },
588
+ "parameter": {
589
+ "type": "string"
590
+ }
591
+ },
592
+ "required": [
593
+ "name",
594
+ "parameter"
595
+ ],
596
+ "type": "object"
597
+ },
598
+ "type": "array"
599
+ },
600
+ "filePath": {
601
+ "description": "FilePath specifies a file containing auth parameters as JSON map[string]string.\nWhen set, auth params are read directly from this file instead.",
602
+ "type": "string"
603
+ },
604
+ "gcpSecretManager": {
605
+ "properties": {
606
+ "credentials": {
607
+ "properties": {
608
+ "clientSecret": {
609
+ "properties": {
610
+ "valueFrom": {
611
+ "properties": {
612
+ "secretKeyRef": {
613
+ "properties": {
614
+ "key": {
615
+ "type": "string"
616
+ },
617
+ "name": {
618
+ "type": "string"
619
+ }
620
+ },
621
+ "required": [
622
+ "key",
623
+ "name"
624
+ ],
625
+ "type": "object"
626
+ }
627
+ },
628
+ "required": [
629
+ "secretKeyRef"
630
+ ],
631
+ "type": "object"
632
+ }
633
+ },
634
+ "required": [
635
+ "valueFrom"
636
+ ],
637
+ "type": "object"
638
+ }
639
+ },
640
+ "required": [
641
+ "clientSecret"
642
+ ],
643
+ "type": "object"
644
+ },
645
+ "podIdentity": {
646
+ "description": "AuthPodIdentity allows users to select the platform native identity\nmechanism",
647
+ "properties": {
648
+ "externalID": {
649
+ "description": "ExternalID sets the External ID to be used when assuming an identity. This is only applicable when using AWS pod identity with a RoleArn.",
650
+ "type": "string"
651
+ },
652
+ "identityAuthorityHost": {
653
+ "description": "Set identityAuthorityHost to override the default Azure authority host. If this is set, then the IdentityTenantID must also be set",
654
+ "type": "string"
655
+ },
656
+ "identityId": {
657
+ "type": "string"
658
+ },
659
+ "identityOwner": {
660
+ "description": "IdentityOwner configures which identity has to be used during auto discovery, keda or the scaled workload. Mutually exclusive with roleArn",
661
+ "enum": [
662
+ "keda",
663
+ "workload"
664
+ ],
665
+ "type": "string"
666
+ },
667
+ "identityTenantId": {
668
+ "description": "Set identityTenantId to override the default Azure tenant id. If this is set, then the IdentityID must also be set",
669
+ "type": "string"
670
+ },
671
+ "provider": {
672
+ "description": "PodIdentityProvider contains the list of providers",
673
+ "enum": [
674
+ "azure-workload",
675
+ "gcp",
676
+ "aws",
677
+ "aws-eks",
678
+ "none"
679
+ ],
680
+ "type": "string"
681
+ },
682
+ "roleArn": {
683
+ "description": "RoleArn sets the AWS RoleArn to be used. Mutually exclusive with IdentityOwner",
684
+ "type": "string"
685
+ }
686
+ },
687
+ "required": [
688
+ "provider"
689
+ ],
690
+ "type": "object"
691
+ },
692
+ "secrets": {
693
+ "items": {
694
+ "properties": {
695
+ "id": {
696
+ "type": "string"
697
+ },
698
+ "parameter": {
699
+ "type": "string"
700
+ },
701
+ "version": {
702
+ "type": "string"
703
+ }
704
+ },
705
+ "required": [
706
+ "id",
707
+ "parameter"
708
+ ],
709
+ "type": "object"
710
+ },
711
+ "minItems": 1,
712
+ "type": "array"
713
+ }
714
+ },
715
+ "required": [
716
+ "secrets"
717
+ ],
718
+ "type": "object"
719
+ },
720
+ "hashiCorpVault": {
721
+ "description": "HashiCorpVault is used to authenticate using Hashicorp Vault",
722
+ "properties": {
723
+ "address": {
724
+ "type": "string"
725
+ },
726
+ "authentication": {
727
+ "description": "VaultAuthentication contains the list of Hashicorp Vault authentication methods",
728
+ "enum": [
729
+ "token",
730
+ "kubernetes"
731
+ ],
732
+ "type": "string"
733
+ },
734
+ "credential": {
735
+ "description": "Credential defines the Hashicorp Vault credentials depending on the authentication method",
736
+ "properties": {
737
+ "serviceAccount": {
738
+ "type": "string"
739
+ },
740
+ "serviceAccountName": {
741
+ "type": "string"
742
+ },
743
+ "token": {
744
+ "type": "string"
745
+ }
746
+ },
747
+ "type": "object"
748
+ },
749
+ "mount": {
750
+ "type": "string"
751
+ },
752
+ "namespace": {
753
+ "type": "string"
754
+ },
755
+ "role": {
756
+ "type": "string"
757
+ },
758
+ "secrets": {
759
+ "items": {
760
+ "description": "VaultSecret defines the mapping between the path of the secret in Vault to the parameter",
761
+ "properties": {
762
+ "key": {
763
+ "type": "string"
764
+ },
765
+ "parameter": {
766
+ "type": "string"
767
+ },
768
+ "path": {
769
+ "type": "string"
770
+ },
771
+ "pkiData": {
772
+ "properties": {
773
+ "altNames": {
774
+ "type": "string"
775
+ },
776
+ "commonName": {
777
+ "type": "string"
778
+ },
779
+ "format": {
780
+ "type": "string"
781
+ },
782
+ "ipSans": {
783
+ "type": "string"
784
+ },
785
+ "otherSans": {
786
+ "type": "string"
787
+ },
788
+ "ttl": {
789
+ "type": "string"
790
+ },
791
+ "uriSans": {
792
+ "type": "string"
793
+ }
794
+ },
795
+ "type": "object"
796
+ },
797
+ "type": {
798
+ "description": "VaultSecretType defines the type of vault secret",
799
+ "enum": [
800
+ "",
801
+ "secretV2",
802
+ "secret",
803
+ "pki"
804
+ ],
805
+ "type": "string"
806
+ }
807
+ },
808
+ "required": [
809
+ "key",
810
+ "parameter",
811
+ "path"
812
+ ],
813
+ "type": "object"
814
+ },
815
+ "minItems": 1,
816
+ "type": "array"
817
+ }
818
+ },
819
+ "required": [
820
+ "address",
821
+ "authentication",
822
+ "secrets"
823
+ ],
824
+ "type": "object"
825
+ },
826
+ "oauth2": {
827
+ "properties": {
828
+ "clientId": {
829
+ "type": "string"
830
+ },
831
+ "clientSecret": {
832
+ "properties": {
833
+ "valueFrom": {
834
+ "properties": {
835
+ "secretKeyRef": {
836
+ "properties": {
837
+ "key": {
838
+ "type": "string"
839
+ },
840
+ "name": {
841
+ "type": "string"
842
+ }
843
+ },
844
+ "required": [
845
+ "key",
846
+ "name"
847
+ ],
848
+ "type": "object"
849
+ }
850
+ },
851
+ "required": [
852
+ "secretKeyRef"
853
+ ],
854
+ "type": "object"
855
+ }
856
+ },
857
+ "required": [
858
+ "valueFrom"
859
+ ],
860
+ "type": "object"
861
+ },
862
+ "scopes": {
863
+ "items": {
864
+ "type": "string"
865
+ },
866
+ "type": "array"
867
+ },
868
+ "tokenUrl": {
869
+ "type": "string"
870
+ },
871
+ "tokenUrlParams": {
872
+ "additionalProperties": {
873
+ "type": "string"
874
+ },
875
+ "type": "object"
876
+ },
877
+ "type": {
878
+ "default": "clientCredentials",
879
+ "enum": [
880
+ "clientCredentials"
881
+ ],
882
+ "type": "string"
883
+ }
884
+ },
885
+ "required": [
886
+ "clientId",
887
+ "tokenUrl",
888
+ "type"
889
+ ],
890
+ "type": "object"
891
+ },
892
+ "podIdentity": {
893
+ "description": "AuthPodIdentity allows users to select the platform native identity\nmechanism",
894
+ "properties": {
895
+ "externalID": {
896
+ "description": "ExternalID sets the External ID to be used when assuming an identity. This is only applicable when using AWS pod identity with a RoleArn.",
897
+ "type": "string"
898
+ },
899
+ "identityAuthorityHost": {
900
+ "description": "Set identityAuthorityHost to override the default Azure authority host. If this is set, then the IdentityTenantID must also be set",
901
+ "type": "string"
902
+ },
903
+ "identityId": {
904
+ "type": "string"
905
+ },
906
+ "identityOwner": {
907
+ "description": "IdentityOwner configures which identity has to be used during auto discovery, keda or the scaled workload. Mutually exclusive with roleArn",
908
+ "enum": [
909
+ "keda",
910
+ "workload"
911
+ ],
912
+ "type": "string"
913
+ },
914
+ "identityTenantId": {
915
+ "description": "Set identityTenantId to override the default Azure tenant id. If this is set, then the IdentityID must also be set",
916
+ "type": "string"
917
+ },
918
+ "provider": {
919
+ "description": "PodIdentityProvider contains the list of providers",
920
+ "enum": [
921
+ "azure-workload",
922
+ "gcp",
923
+ "aws",
924
+ "aws-eks",
925
+ "none"
926
+ ],
927
+ "type": "string"
928
+ },
929
+ "roleArn": {
930
+ "description": "RoleArn sets the AWS RoleArn to be used. Mutually exclusive with IdentityOwner",
931
+ "type": "string"
932
+ }
933
+ },
934
+ "required": [
935
+ "provider"
936
+ ],
937
+ "type": "object"
938
+ },
939
+ "secretTargetRef": {
940
+ "items": {
941
+ "description": "AuthSecretTargetRef is used to authenticate using a reference to a secret",
942
+ "properties": {
943
+ "key": {
944
+ "type": "string"
945
+ },
946
+ "name": {
947
+ "type": "string"
948
+ },
949
+ "parameter": {
950
+ "type": "string"
951
+ }
952
+ },
953
+ "required": [
954
+ "key",
955
+ "name",
956
+ "parameter"
957
+ ],
958
+ "type": "object"
959
+ },
960
+ "type": "array"
961
+ }
962
+ },
963
+ "type": "object"
964
+ },
965
+ "status": {
966
+ "description": "TriggerAuthenticationStatus defines the observed state of TriggerAuthentication",
967
+ "properties": {
968
+ "scaledjobs": {
969
+ "type": "string"
970
+ },
971
+ "scaledobjects": {
972
+ "type": "string"
973
+ }
974
+ },
975
+ "type": "object"
976
+ }
977
+ },
978
+ "required": [
979
+ "spec"
980
+ ],
981
+ "type": "object"
982
+ }
983
+ },
984
+ "served": true,
985
+ "storage": true,
986
+ "subresources": {
987
+ "status": {}
988
+ }
989
+ }
990
+ ]
991
+ }
992
+ }