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 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | # @author: gareth.roper@ericsson.com |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 20 | ################################################################# |
| 21 | # Global configuration defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
| 25 | nodePortPrefixExt: 304 |
| 26 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 27 | readinessImage: onap/oom/readiness:3.0.1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 28 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
| 29 | envsubstImage: dibi/envsubst |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 30 | persistence: |
| 31 | mountPath: /dockerdata-nfs |
| 32 | |
| 33 | ################################################################# |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 34 | # Secrets metaconfig |
| 35 | ################################################################# |
| 36 | secrets: |
| 37 | - uid: db-user-creds |
| 38 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 39 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 40 | login: '{{ .Values.db.userName }}' |
| 41 | password: '{{ .Values.db.userPassword }}' |
| 42 | passwordPolicy: required |
| 43 | - uid: db-admin-creds |
| 44 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 45 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 46 | login: '{{ .Values.db.adminName }}' |
| 47 | password: '{{ .Values.db.adminPassword }}' |
| 48 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 49 | |
| 50 | #secretsFilePaths: | |
| 51 | # - 'my file 1' |
| 52 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 55 | # AAF part |
| 56 | ################################################################# |
| 57 | soHelpers: |
| 58 | nameOverride: so-monitoring-cert-init |
| 59 | certInitializer: |
| 60 | nameOverride: so-monitoring-cert-init |
| 61 | credsPath: /opt/app/osaaf/local |
| 62 | |
| 63 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 64 | # Application configuration defaults. |
| 65 | ################################################################# |
| 66 | repository: nexus3.onap.org:10001 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 67 | image: onap/so/so-monitoring:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 68 | pullPolicy: Always |
| 69 | |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 70 | db: |
| 71 | userName: so_user |
| 72 | userPassword: so_User123 |
| 73 | # userCredsExternalSecret: some secret |
| 74 | adminName: so_admin |
| 75 | adminPassword: so_Admin123 |
| 76 | # adminCredsExternalSecret: some secret |
| 77 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 78 | replicaCount: 1 |
| 79 | minReadySeconds: 10 |
| 80 | containerPort: 9091 |
| 81 | logPath: app/logs/ |
| 82 | app: so-monitoring |
| 83 | service: |
seshukm | 0eb23df | 2020-03-16 20:55:48 +0530 | [diff] [blame] | 84 | #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis... |
| 85 | type: ClusterIP |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 86 | nodePort: 24 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 87 | internalPort: 9091 |
| 88 | externalPort: 9091 |
| 89 | portName: so-monitor-port |
| 90 | updateStrategy: |
| 91 | type: RollingUpdate |
| 92 | maxUnavailable: 1 |
| 93 | maxSurge: 1 |
| 94 | # Resource Limit flavor -By Default using small |
| 95 | flavor: small |
| 96 | #Segregation for different environment (Small or large) |
| 97 | resources: |
| 98 | small: |
| 99 | requests: |
| 100 | memory: 1Gi |
| 101 | cpu: 10m |
| 102 | limits: |
| 103 | memory: 4Gi |
| 104 | cpu: 1 |
| 105 | large: |
| 106 | requests: |
| 107 | memory: 2Gi |
| 108 | cpu: 20m |
| 109 | limits: |
| 110 | memory: 8Gi |
| 111 | cpu: 2 |
| 112 | readinessProbe: |
| 113 | port: 9091 |
| 114 | initialDelaySeconds: 20 |
| 115 | periodSeconds: 10 |
| 116 | timeoutSeconds: 10 |
| 117 | livenessProbe: |
| 118 | port: 9091 |
| 119 | initialDelaySeconds: 40 |
| 120 | periodSeconds: 10 |
| 121 | timeoutSeconds: 10 |
| 122 | successThreshold: 1 |
| 123 | failureThreshold: 3 |
| 124 | ingress: |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 125 | enabled: false |
| 126 | service: |
| 127 | - baseaddr: "somonitoring" |
| 128 | name: "so-monitoring" |
| 129 | port: 9091 |
| 130 | config: |
| 131 | ssl: "none" |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 132 | nodeSelector: {} |
| 133 | tolerations: [] |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 134 | affinity: {} |