Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
| 3 | # Copyright (C) 2021 Wipro Limited. |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 4 | # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved. |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 5 | # ============================================================================ |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # ============= LICENSE_END ================================================== |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global Configuration Defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 25 | centralizedLoggingEnabled: true |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
| 28 | # Filebeat Configuration Defaults. |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 29 | # |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
| 36 | # Secrets Configuration. |
| 37 | ################################################################# |
| 38 | secrets: |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 39 | - uid: &pgUserCredsSecretUid pg-user-creds |
| 40 | externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds' |
| 41 | type: basicAuth |
| 42 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 43 | passwordPolicy: required |
| 44 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 45 | ################################################################# |
| 46 | # Application Configuration Defaults. |
| 47 | ################################################################# |
| 48 | # Application Image |
| 49 | image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1 |
| 50 | |
| 51 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 52 | # if path is set to null sidecar won't be deployed in spite of |
| 53 | # global.centralizedLoggingEnabled setting. |
| 54 | log: |
| 55 | path: /var/log/ONAP/dcaegen2/services/datalake |
| 56 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 57 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 58 | # Dependencies |
| 59 | readinessCheck: |
| 60 | wait_for: |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 61 | - dcae-datalake-feeder |
| 62 | |
| 63 | # Probe Configuration |
| 64 | readiness: |
| 65 | initialDelaySeconds: 90 |
| 66 | periodSeconds: 90 |
| 67 | timeoutSeconds: 10 |
| 68 | path: /datalake/v1/exposure |
| 69 | scheme: HTTP |
| 70 | port: 1681 |
| 71 | |
| 72 | # Service Configuration |
| 73 | service: |
| 74 | type: ClusterIP |
| 75 | name: dl-des |
| 76 | ports: |
| 77 | - name: http |
| 78 | port: 1681 |
| 79 | port_protocol: http |
| 80 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 81 | serviceMesh: |
| 82 | authorizationPolicy: |
| 83 | authorizedPrincipals: [] |
| 84 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 85 | #postgres configuration |
| 86 | postgres: |
| 87 | config: |
| 88 | pgUserName: datalake |
| 89 | |
| 90 | # Initial Application Configuration |
| 91 | applicationConfig: |
| 92 | PRESTO_HOST: dl-presto |
| 93 | PRESTO_PORT: 9000 |
| 94 | PRESTO_USER: user |
| 95 | PRESTO_PASSWORD: test |
| 96 | HOSTNAME: dl-des |
| 97 | |
| 98 | applicationEnv: |
| 99 | PG_HOST: dcae-datalake-pg-primary |
| 100 | PG_PORT: '5432' |
| 101 | PG_USER: |
| 102 | secretUid: *pgUserCredsSecretUid |
| 103 | key: login |
| 104 | PG_PASSWORD: |
| 105 | secretUid: *pgUserCredsSecretUid |
| 106 | key: password |
| 107 | PG_DB: datalake |
| 108 | PRESTO_HOST: dl-presto |
| 109 | PRESTO_PORT: '9000' |
| 110 | PRESTO_USER: user |
| 111 | PRESTO_PASSWORD: test |
| 112 | |
| 113 | # Resource Limit Flavor -By Default Using Small |
| 114 | flavor: small |
| 115 | # Segregation for Different Environment (Small and Large) |
| 116 | resources: |
| 117 | small: |
| 118 | limits: |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame^] | 119 | cpu: 2 |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 120 | memory: 1Gi |
| 121 | requests: |
| 122 | cpu: 1 |
| 123 | memory: 1Gi |
| 124 | large: |
| 125 | limits: |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame^] | 126 | cpu: 4 |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 127 | memory: 2Gi |
| 128 | requests: |
| 129 | cpu: 2 |
| 130 | memory: 2Gi |
| 131 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 132 | |
| 133 | #Pods Service Account |
| 134 | serviceAccount: |
| 135 | nameOverride: dcae-datalake-des |
| 136 | roles: |
| 137 | - read |