| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 1 | # |
| garciadeblas | bae51f6 | 2023-03-28 18:27:20 +0200 | [diff] [blame] | 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at |
| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 5 | # |
| garciadeblas | bae51f6 | 2023-03-28 18:27:20 +0200 | [diff] [blame] | 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 8 | # Unless required by applicable law or agreed to in writing, software |
| 9 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | # |
| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 14 | --- |
| garciadeblas | 8ef3b05 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 15 | config: |
| 16 | core: |
| 17 | parallelism: 4 |
| 18 | dag_concurrency: 2 |
| 19 | max_active_tasks_per_dag: 2 |
| 20 | worker_concurrency: 2 |
| 21 | dags_folder: "/home/airflow/.local/lib/python3.10/site-packages/osm_ngsa" |
| garciadeblas | 0cdfb57 | 2022-11-11 10:24:51 +0100 | [diff] [blame] | 22 | defaultAirflowRepository: opensourcemano/airflow |
| garciadeblas | a9cab1f | 2025-01-13 12:04:42 +0100 | [diff] [blame] | 23 | defaultAirflowTag: "17" |
| garciadeblas | 8ef3b05 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 24 | executor: LocalExecutor |
| aguilard | e556fe0 | 2023-05-02 10:20:21 +0000 | [diff] [blame] | 25 | extraEnv: | |
| 26 | - name: AIRFLOW__API__AUTH_BACKENDS |
| 27 | value: 'airflow.api.auth.backend.basic_auth' |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 28 | - name: AIRFLOW__LOGGING__LOGGING_LEVEL |
| 29 | value: 'INFO' |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 30 | - name: OSMMON_DATABASE_COMMONKEY |
| 31 | valueFrom: |
| 32 | secretKeyRef: |
| 33 | name: osm-secret |
| 34 | key: OSM_DATABASE_COMMONKEY |
| 35 | # extraEnvFrom: | |
| 36 | # - secretRef: |
| 37 | # name: ngsa-secret |
| garciadeblas | 8ef3b05 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 38 | ingress: |
| 39 | web: |
| 40 | enabled: True |
| 41 | hosts: |
| 42 | - name: "localhost" |
| 43 | ingressClassName: nginx |
| garciadeblas | fd8d836 | 2025-10-27 16:49:48 +0100 | [diff] [blame] | 44 | postgresql: |
| 45 | image: |
| 46 | repository: bitnamilegacy/postgresql |
| 47 | tag: 11 |
| garciadeblas | 8ef3b05 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 48 | # scheduler: |
| 49 | # resources: |
| 50 | # requests: |
| 51 | # memory: 512Mi |
| 52 | # cpu: 250m |
| 53 | # limits: |
| 54 | # memory: 1Gi |
| 55 | # cpu: 500m |
| 56 | webserverSecretKeySecretName: airflow-webserver-secret |
| 57 | webserver: |
| 58 | resources: |
| 59 | requests: |
| 60 | memory: 256Mi |
| 61 | cpu: 250m |
| 62 | limits: |
| 63 | memory: 1Gi |
| 64 | cpu: 500m |
| 65 | service: |
| 66 | type: ClusterIP |
| 67 | ports: |
| 68 | - name: airflow-ui |
| 69 | port: "{{ .Values.ports.airflowUI }}" |
| 70 | targetPort: "{{ .Values.ports.airflowUI }}" |
| garciadeblas | 7812a1c | 2023-07-04 15:46:11 +0200 | [diff] [blame] | 71 | workers: |
| 72 | persistence: |
| garciadeblas | 8ef3b05 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 73 | size: 2Gi |
| 74 | replicas: 1 |
| 75 | resources: |
| 76 | requests: |
| 77 | memory: 512Mi |
| 78 | cpu: 250m |
| 79 | limits: |
| 80 | memory: 1Gi |
| 81 | cpu: 500m |
| 82 | logGroomerSidecar: |
| 83 | retentionDays: 7 |
| 84 | resources: |
| 85 | limits: |
| 86 | cpu: 100m |
| 87 | memory: 128Mi |
| 88 | requests: |
| 89 | cpu: 100m |
| 90 | memory: 128Mi |