blob: 357c61cc45eb53ae949adb519d2fed5c23c9ae92 [file] [log] [blame]
rope252cd2142c2018-09-17 12:35:36 +01001# ============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
jmacc4f04d32018-10-12 18:24:24 +000019#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
25 repository: nexus3.onap.org:10001
26 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000027 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000028 persistence:
29 mountPath: /dockerdata-nfs
30
31#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010032# Secrets metaconfig
33#################################################################
34secrets:
35 - uid: db-user-creds
36 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010037 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010038 login: '{{ .Values.db.userName }}'
39 password: '{{ .Values.db.userPassword }}'
40 passwordPolicy: required
41 - uid: db-admin-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010044 login: '{{ .Values.db.adminName }}'
45 password: '{{ .Values.db.adminPassword }}'
46 passwordPolicy: required
47
48#################################################################
jmacc4f04d32018-10-12 18:24:24 +000049# Application configuration defaults.
50#################################################################
51repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053052image: onap/so/so-monitoring:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000053pullPolicy: Always
54
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010055db:
56 userName: so_user
57 userPassword: so_User123
58 # userCredsExternalSecret: some secret
59 adminName: so_admin
60 adminPassword: so_Admin123
61 # adminCredsExternalSecret: some secret
62
rope252cd2142c2018-09-17 12:35:36 +010063replicaCount: 1
64minReadySeconds: 10
65containerPort: 9091
66logPath: app/logs/
67app: so-monitoring
68service:
seshukm0eb23df2020-03-16 20:55:48 +053069#Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
70 type: ClusterIP
eikrwaqdd0962f2018-10-22 11:28:23 +010071 nodePort: 24
rope252cd2142c2018-09-17 12:35:36 +010072 internalPort: 9091
73 externalPort: 9091
74 portName: so-monitor-port
75updateStrategy:
76 type: RollingUpdate
77 maxUnavailable: 1
78 maxSurge: 1
79# Resource Limit flavor -By Default using small
80flavor: small
81#Segregation for different environment (Small or large)
82resources:
83 small:
84 requests:
85 memory: 1Gi
86 cpu: 10m
87 limits:
88 memory: 4Gi
89 cpu: 1
90 large:
91 requests:
92 memory: 2Gi
93 cpu: 20m
94 limits:
95 memory: 8Gi
96 cpu: 2
97readinessProbe:
98 port: 9091
99 initialDelaySeconds: 20
100 periodSeconds: 10
101 timeoutSeconds: 10
102livenessProbe:
103 port: 9091
104 initialDelaySeconds: 40
105 periodSeconds: 10
106 timeoutSeconds: 10
107 successThreshold: 1
108 failureThreshold: 3
109ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200110 enabled: false
111 service:
112 - baseaddr: "somonitoring"
113 name: "so-monitoring"
114 port: 9091
115 config:
116 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100117nodeSelector: {}
118tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100119affinity: {}