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