|
1 | | -# Copyright 2021 TriggerMesh Inc. |
| 1 | +# Copyright 2022 TriggerMesh Inc. |
2 | 2 | # |
3 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | # you may not use this file except in compliance with the License. |
|
52 | 52 | description: Desired state of the event source. |
53 | 53 | type: object |
54 | 54 | properties: |
| 55 | + adapterOverrides: |
| 56 | + description: Kubernetes object parameters to apply on top of default adapter values. |
| 57 | + type: object |
| 58 | + properties: |
| 59 | + resources: |
| 60 | + description: 'Compute Resources required by the adapter. More info: |
| 61 | + https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| 62 | + type: object |
| 63 | + properties: |
| 64 | + limits: |
| 65 | + additionalProperties: |
| 66 | + anyOf: |
| 67 | + - type: integer |
| 68 | + - type: string |
| 69 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 70 | + x-kubernetes-int-or-string: true |
| 71 | + description: 'Limits describes the maximum amount of compute resources allowed. More info: |
| 72 | + https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| 73 | + type: object |
| 74 | + requests: |
| 75 | + additionalProperties: |
| 76 | + anyOf: |
| 77 | + - type: integer |
| 78 | + - type: string |
| 79 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 80 | + x-kubernetes-int-or-string: true |
| 81 | + description: 'Requests describes the minimum amount of compute resources required. |
| 82 | + If Requests is omitted for a container, it defaults to Limits if that is explicitly |
| 83 | + specified, otherwise to an implementation-defined value. More info: |
| 84 | + https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| 85 | + type: object |
| 86 | + tolerations: |
| 87 | + description: Pod tolerations, as documented at |
| 88 | + https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
| 89 | + type: array |
| 90 | + items: |
| 91 | + type: object |
| 92 | + properties: |
| 93 | + key: |
| 94 | + description: Taint key that the toleration applies to. |
| 95 | + type: string |
| 96 | + operator: |
| 97 | + description: Key's relationship to the value. |
| 98 | + type: string |
| 99 | + enum: [Exists, Equal] |
| 100 | + value: |
| 101 | + description: Taint value the toleration matches to. |
| 102 | + type: string |
| 103 | + effect: |
| 104 | + description: Taint effect to match. |
| 105 | + type: string |
| 106 | + enum: [NoSchedule, PreferNoSchedule, NoExecute] |
| 107 | + tolerationSeconds: |
| 108 | + description: Period of time a toleration of effect NoExecute tolerates the taint. |
| 109 | + type: integer |
| 110 | + format: int64 |
55 | 111 | arn: |
56 | 112 | description: ARN of the Log Group to source data from. The expected format is documented at |
57 | 113 | https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies |
|
0 commit comments