Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
| 3 | # Copyright (C) 2021 Wipro Limited. |
Jack Lucas | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame] | 4 | # Copyright (c) 2022 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: |
| 39 | - uid: &aafCredsUID aafcreds |
| 40 | type: basicAuth |
| 41 | login: '{{ .Values.aafCreds.identity }}' |
| 42 | password: '{{ .Values.aafCreds.password }}' |
| 43 | passwordPolicy: required |
| 44 | - uid: &pgUserCredsSecretUid pg-user-creds |
| 45 | externalSecret: '{{ include "common.release" . }}-datalake-pg-user-creds' |
| 46 | type: basicAuth |
| 47 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 48 | passwordPolicy: required |
| 49 | |
| 50 | ################################aafcreds################################# |
| 51 | # InitContainer Images. |
| 52 | ################################################################# |
| 53 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 54 | |
| 55 | ################################################################# |
| 56 | # Application Configuration Defaults. |
| 57 | ################################################################# |
| 58 | # Application Image |
| 59 | image: onap/org.onap.dcaegen2.services.datalake.exposure.service:1.1.1 |
| 60 | |
| 61 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 62 | # if path is set to null sidecar won't be deployed in spite of |
| 63 | # global.centralizedLoggingEnabled setting. |
| 64 | log: |
| 65 | path: /var/log/ONAP/dcaegen2/services/datalake |
| 66 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 67 | |
| 68 | # Directory where TLS certs should be stored |
| 69 | # if absent, no certs will be retrieved and stored |
| 70 | certDirectory: /opt/app/datalake/etc/cert/ |
| 71 | |
| 72 | # TLS role -- set to true if microservice acts as server |
| 73 | # If true, an init container will retrieve a server cert |
| 74 | # and key from AAF and mount them in certDirectory. |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 75 | tlsServer: false |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 76 | |
| 77 | # Dependencies |
| 78 | readinessCheck: |
| 79 | wait_for: |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 80 | - dcae-datalake-feeder |
| 81 | |
| 82 | # Probe Configuration |
| 83 | readiness: |
| 84 | initialDelaySeconds: 90 |
| 85 | periodSeconds: 90 |
| 86 | timeoutSeconds: 10 |
| 87 | path: /datalake/v1/exposure |
| 88 | scheme: HTTP |
| 89 | port: 1681 |
| 90 | |
| 91 | # Service Configuration |
| 92 | service: |
| 93 | type: ClusterIP |
| 94 | name: dl-des |
| 95 | ports: |
| 96 | - name: http |
| 97 | port: 1681 |
| 98 | port_protocol: http |
| 99 | |
| 100 | # AAF Credentials |
| 101 | aafCreds: |
| 102 | identity: dcae@dcae.onap.org |
| 103 | password: demo123456! |
| 104 | |
| 105 | #postgres configuration |
| 106 | postgres: |
| 107 | config: |
| 108 | pgUserName: datalake |
| 109 | |
| 110 | # Initial Application Configuration |
| 111 | applicationConfig: |
| 112 | PRESTO_HOST: dl-presto |
| 113 | PRESTO_PORT: 9000 |
| 114 | PRESTO_USER: user |
| 115 | PRESTO_PASSWORD: test |
| 116 | HOSTNAME: dl-des |
| 117 | |
| 118 | applicationEnv: |
| 119 | PG_HOST: dcae-datalake-pg-primary |
| 120 | PG_PORT: '5432' |
| 121 | PG_USER: |
| 122 | secretUid: *pgUserCredsSecretUid |
| 123 | key: login |
| 124 | PG_PASSWORD: |
| 125 | secretUid: *pgUserCredsSecretUid |
| 126 | key: password |
| 127 | PG_DB: datalake |
| 128 | PRESTO_HOST: dl-presto |
| 129 | PRESTO_PORT: '9000' |
| 130 | PRESTO_USER: user |
| 131 | PRESTO_PASSWORD: test |
| 132 | |
| 133 | # Resource Limit Flavor -By Default Using Small |
| 134 | flavor: small |
| 135 | # Segregation for Different Environment (Small and Large) |
| 136 | resources: |
| 137 | small: |
| 138 | limits: |
| 139 | cpu: 1 |
| 140 | memory: 1Gi |
| 141 | requests: |
| 142 | cpu: 1 |
| 143 | memory: 1Gi |
| 144 | large: |
| 145 | limits: |
| 146 | cpu: 2 |
| 147 | memory: 2Gi |
| 148 | requests: |
| 149 | cpu: 2 |
| 150 | memory: 2Gi |
| 151 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 152 | |
| 153 | #Pods Service Account |
| 154 | serviceAccount: |
| 155 | nameOverride: dcae-datalake-des |
| 156 | roles: |
| 157 | - read |