rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 3 | # Copyright (C) 2020 Huawei |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 4 | # Modifications Copyright © 2020 Nokia |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [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 | # |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ============LICENSE_END========================================================= |
| 20 | # @author: gareth.roper@ericsson.com |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 21 | ################################################################# |
| 22 | # Global configuration defaults. |
| 23 | ################################################################# |
| 24 | global: |
| 25 | nodePortPrefix: 302 |
| 26 | nodePortPrefixExt: 304 |
| 27 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 28 | readinessImage: onap/oom/readiness:3.0.1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 29 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
| 30 | envsubstImage: dibi/envsubst |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 31 | aafEnabled: true |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 32 | persistence: |
| 33 | mountPath: /dockerdata-nfs |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 34 | security: |
| 35 | aaf: |
| 36 | enabled: true |
| 37 | aaf: |
| 38 | auth: |
| 39 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 40 | mariadbGalera: |
| 41 | serviceName: mariadb-galera |
| 42 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 43 | |
| 44 | ################################################################# |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 45 | # Secrets metaconfig |
| 46 | ################################################################# |
| 47 | secrets: |
| 48 | - uid: db-user-creds |
| 49 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 50 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 51 | login: '{{ .Values.db.userName }}' |
| 52 | password: '{{ .Values.db.userPassword }}' |
| 53 | passwordPolicy: required |
| 54 | - uid: db-admin-creds |
| 55 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 56 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 57 | login: '{{ .Values.db.adminName }}' |
| 58 | password: '{{ .Values.db.adminPassword }}' |
| 59 | passwordPolicy: required |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 60 | - uid: app-user-creds |
| 61 | type: basicAuth |
| 62 | externalSecret: '{{ tpl (default "" .Values.server.monitoring.soMonitoringCredsExternalSecret) . }}' |
| 63 | login: '{{ .Values.server.monitoring.username }}' |
| 64 | password: '{{ .Values.server.monitoring.password }}' |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 65 | |
| 66 | #secretsFilePaths: | |
| 67 | # - 'my file 1' |
| 68 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 69 | |
| 70 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 71 | # Application configuration defaults. |
| 72 | ################################################################# |
| 73 | repository: nexus3.onap.org:10001 |
deen1985 | b958d7d | 2020-12-28 11:56:52 +0100 | [diff] [blame] | 74 | image: onap/so/so-monitoring:1.7.11 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 75 | pullPolicy: Always |
| 76 | |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 77 | db: |
| 78 | userName: so_user |
| 79 | userPassword: so_User123 |
| 80 | # userCredsExternalSecret: some secret |
| 81 | adminName: so_admin |
| 82 | adminPassword: so_Admin123 |
| 83 | # adminCredsExternalSecret: some secret |
| 84 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 85 | replicaCount: 1 |
| 86 | minReadySeconds: 10 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 87 | containerPort: &containerPort 9091 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 88 | logPath: app/logs/ |
| 89 | app: so-monitoring |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 90 | |
| 91 | ################################################################# |
| 92 | # soHelpers part |
| 93 | ################################################################# |
| 94 | soHelpers: |
| 95 | nameOverride: so-monitoring-cert-init |
| 96 | certInitializer: |
| 97 | nameOverride: so-monitoring-cert-init |
| 98 | credsPath: /opt/app/osaaf/local |
| 99 | cadi: |
| 100 | apiEnforcement: org.onap.so.monitoringPerm |
| 101 | containerPort: *containerPort |
| 102 | |
| 103 | server: |
| 104 | monitoring: |
| 105 | username: demo |
| 106 | # password: demo123456! |
| 107 | # soMonitoringCredsExternalSecret: some secret |
| 108 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 109 | service: |
seshukm | 0eb23df | 2020-03-16 20:55:48 +0530 | [diff] [blame] | 110 | #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis... |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 111 | type: NodePort |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 112 | nodePort: 24 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 113 | internalPort: *containerPort |
| 114 | externalPort: *containerPort |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 115 | portName: so-monitor-port |
| 116 | updateStrategy: |
| 117 | type: RollingUpdate |
| 118 | maxUnavailable: 1 |
| 119 | maxSurge: 1 |
| 120 | # Resource Limit flavor -By Default using small |
| 121 | flavor: small |
| 122 | #Segregation for different environment (Small or large) |
| 123 | resources: |
| 124 | small: |
| 125 | requests: |
| 126 | memory: 1Gi |
| 127 | cpu: 10m |
| 128 | limits: |
| 129 | memory: 4Gi |
| 130 | cpu: 1 |
| 131 | large: |
| 132 | requests: |
| 133 | memory: 2Gi |
| 134 | cpu: 20m |
| 135 | limits: |
| 136 | memory: 8Gi |
| 137 | cpu: 2 |
| 138 | readinessProbe: |
| 139 | port: 9091 |
| 140 | initialDelaySeconds: 20 |
| 141 | periodSeconds: 10 |
| 142 | timeoutSeconds: 10 |
| 143 | livenessProbe: |
| 144 | port: 9091 |
| 145 | initialDelaySeconds: 40 |
| 146 | periodSeconds: 10 |
| 147 | timeoutSeconds: 10 |
| 148 | successThreshold: 1 |
| 149 | failureThreshold: 3 |
| 150 | ingress: |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 151 | enabled: false |
| 152 | service: |
| 153 | - baseaddr: "somonitoring" |
| 154 | name: "so-monitoring" |
| 155 | port: 9091 |
| 156 | config: |
| 157 | ssl: "none" |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 158 | nodeSelector: {} |
| 159 | tolerations: [] |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 160 | affinity: {} |