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= |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 40 | |
| 41 | ################################################################# |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 42 | # Secrets metaconfig |
| 43 | ################################################################# |
| 44 | secrets: |
| 45 | - uid: db-user-creds |
| 46 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 47 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 48 | login: '{{ .Values.db.userName }}' |
| 49 | password: '{{ .Values.db.userPassword }}' |
| 50 | passwordPolicy: required |
| 51 | - uid: db-admin-creds |
| 52 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 53 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 54 | login: '{{ .Values.db.adminName }}' |
| 55 | password: '{{ .Values.db.adminPassword }}' |
| 56 | passwordPolicy: required |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 57 | - uid: app-user-creds |
| 58 | type: basicAuth |
| 59 | externalSecret: '{{ tpl (default "" .Values.server.monitoring.soMonitoringCredsExternalSecret) . }}' |
| 60 | login: '{{ .Values.server.monitoring.username }}' |
| 61 | password: '{{ .Values.server.monitoring.password }}' |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 62 | |
| 63 | #secretsFilePaths: | |
| 64 | # - 'my file 1' |
| 65 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 66 | |
| 67 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 68 | # Application configuration defaults. |
| 69 | ################################################################# |
| 70 | repository: nexus3.onap.org:10001 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 71 | image: onap/so/so-monitoring:1.7.7 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 72 | pullPolicy: Always |
| 73 | |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 74 | db: |
| 75 | userName: so_user |
| 76 | userPassword: so_User123 |
| 77 | # userCredsExternalSecret: some secret |
| 78 | adminName: so_admin |
| 79 | adminPassword: so_Admin123 |
| 80 | # adminCredsExternalSecret: some secret |
| 81 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 82 | replicaCount: 1 |
| 83 | minReadySeconds: 10 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 84 | containerPort: &containerPort 9091 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 85 | logPath: app/logs/ |
| 86 | app: so-monitoring |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 87 | |
| 88 | ################################################################# |
| 89 | # soHelpers part |
| 90 | ################################################################# |
| 91 | soHelpers: |
| 92 | nameOverride: so-monitoring-cert-init |
| 93 | certInitializer: |
| 94 | nameOverride: so-monitoring-cert-init |
| 95 | credsPath: /opt/app/osaaf/local |
| 96 | cadi: |
| 97 | apiEnforcement: org.onap.so.monitoringPerm |
| 98 | containerPort: *containerPort |
| 99 | |
| 100 | server: |
| 101 | monitoring: |
| 102 | username: demo |
| 103 | # password: demo123456! |
| 104 | # soMonitoringCredsExternalSecret: some secret |
| 105 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 106 | service: |
seshukm | 0eb23df | 2020-03-16 20:55:48 +0530 | [diff] [blame] | 107 | #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] | 108 | type: NodePort |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 109 | nodePort: 24 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 110 | internalPort: *containerPort |
| 111 | externalPort: *containerPort |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 112 | portName: so-monitor-port |
| 113 | updateStrategy: |
| 114 | type: RollingUpdate |
| 115 | maxUnavailable: 1 |
| 116 | maxSurge: 1 |
| 117 | # Resource Limit flavor -By Default using small |
| 118 | flavor: small |
| 119 | #Segregation for different environment (Small or large) |
| 120 | resources: |
| 121 | small: |
| 122 | requests: |
| 123 | memory: 1Gi |
| 124 | cpu: 10m |
| 125 | limits: |
| 126 | memory: 4Gi |
| 127 | cpu: 1 |
| 128 | large: |
| 129 | requests: |
| 130 | memory: 2Gi |
| 131 | cpu: 20m |
| 132 | limits: |
| 133 | memory: 8Gi |
| 134 | cpu: 2 |
| 135 | readinessProbe: |
| 136 | port: 9091 |
| 137 | initialDelaySeconds: 20 |
| 138 | periodSeconds: 10 |
| 139 | timeoutSeconds: 10 |
| 140 | livenessProbe: |
| 141 | port: 9091 |
| 142 | initialDelaySeconds: 40 |
| 143 | periodSeconds: 10 |
| 144 | timeoutSeconds: 10 |
| 145 | successThreshold: 1 |
| 146 | failureThreshold: 3 |
| 147 | ingress: |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 148 | enabled: false |
| 149 | service: |
| 150 | - baseaddr: "somonitoring" |
| 151 | name: "so-monitoring" |
| 152 | port: 9091 |
| 153 | config: |
| 154 | ssl: "none" |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 155 | nodeSelector: {} |
| 156 | tolerations: [] |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 157 | affinity: {} |