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 |
| 26 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 27 | readinessImage: readiness-check:2.0.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 28 | persistence: |
| 29 | mountPath: /dockerdata-nfs |
| 30 | |
| 31 | ################################################################# |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 32 | # Secrets metaconfig |
| 33 | ################################################################# |
| 34 | secrets: |
| 35 | - uid: db-user-creds |
| 36 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 37 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 38 | login: '{{ .Values.db.userName }}' |
| 39 | password: '{{ .Values.db.userPassword }}' |
| 40 | passwordPolicy: required |
| 41 | - uid: db-admin-creds |
| 42 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 43 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 44 | login: '{{ .Values.db.adminName }}' |
| 45 | password: '{{ .Values.db.adminPassword }}' |
| 46 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame^] | 47 | - uid: "so-onap-certs" |
| 48 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 49 | type: generic |
| 50 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 51 | |
| 52 | #secretsFilePaths: | |
| 53 | # - 'my file 1' |
| 54 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 55 | |
| 56 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 57 | # Application configuration defaults. |
| 58 | ################################################################# |
| 59 | repository: nexus3.onap.org:10001 |
seshukm | fb56d71 | 2019-10-14 10:46:52 +0530 | [diff] [blame] | 60 | image: onap/so/so-monitoring:1.5.3 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 61 | pullPolicy: Always |
| 62 | |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 63 | db: |
| 64 | userName: so_user |
| 65 | userPassword: so_User123 |
| 66 | # userCredsExternalSecret: some secret |
| 67 | adminName: so_admin |
| 68 | adminPassword: so_Admin123 |
| 69 | # adminCredsExternalSecret: some secret |
| 70 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 71 | replicaCount: 1 |
| 72 | minReadySeconds: 10 |
| 73 | containerPort: 9091 |
| 74 | logPath: app/logs/ |
| 75 | app: so-monitoring |
| 76 | service: |
seshukm | 0eb23df | 2020-03-16 20:55:48 +0530 | [diff] [blame] | 77 | #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis... |
| 78 | type: ClusterIP |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 79 | nodePort: 24 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 80 | internalPort: 9091 |
| 81 | externalPort: 9091 |
| 82 | portName: so-monitor-port |
| 83 | updateStrategy: |
| 84 | type: RollingUpdate |
| 85 | maxUnavailable: 1 |
| 86 | maxSurge: 1 |
| 87 | # Resource Limit flavor -By Default using small |
| 88 | flavor: small |
| 89 | #Segregation for different environment (Small or large) |
| 90 | resources: |
| 91 | small: |
| 92 | requests: |
| 93 | memory: 1Gi |
| 94 | cpu: 10m |
| 95 | limits: |
| 96 | memory: 4Gi |
| 97 | cpu: 1 |
| 98 | large: |
| 99 | requests: |
| 100 | memory: 2Gi |
| 101 | cpu: 20m |
| 102 | limits: |
| 103 | memory: 8Gi |
| 104 | cpu: 2 |
| 105 | readinessProbe: |
| 106 | port: 9091 |
| 107 | initialDelaySeconds: 20 |
| 108 | periodSeconds: 10 |
| 109 | timeoutSeconds: 10 |
| 110 | livenessProbe: |
| 111 | port: 9091 |
| 112 | initialDelaySeconds: 40 |
| 113 | periodSeconds: 10 |
| 114 | timeoutSeconds: 10 |
| 115 | successThreshold: 1 |
| 116 | failureThreshold: 3 |
| 117 | ingress: |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 118 | enabled: false |
| 119 | service: |
| 120 | - baseaddr: "somonitoring" |
| 121 | name: "so-monitoring" |
| 122 | port: 9091 |
| 123 | config: |
| 124 | ssl: "none" |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 125 | nodeSelector: {} |
| 126 | tolerations: [] |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 127 | affinity: {} |