blob: 6f38f3c263fc3b6853580c59c08069f855255085 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020026 readinessImage: onap/oom/readiness:3.0.1
jmacc4f04d32018-10-12 18:24:24 +000027 persistence:
28 mountPath: /dockerdata-nfs
29
30#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010031# Secrets metaconfig
32#################################################################
33secrets:
34 - uid: db-user-creds
35 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010036 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010037 login: '{{ .Values.db.userName }}'
38 password: '{{ .Values.db.userPassword }}'
39 passwordPolicy: required
40 - uid: db-admin-creds
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010043 login: '{{ .Values.db.adminName }}'
44 password: '{{ .Values.db.adminPassword }}'
45 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010046 - 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 Opasiak0be83cb2020-03-24 21:44:00 +010054
55#################################################################
jmacc4f04d32018-10-12 18:24:24 +000056# Application configuration defaults.
57#################################################################
58repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053059image: onap/so/so-monitoring:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000060pullPolicy: Always
61
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010062db:
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
rope252cd2142c2018-09-17 12:35:36 +010070replicaCount: 1
71minReadySeconds: 10
72containerPort: 9091
73logPath: app/logs/
74app: so-monitoring
75service:
seshukm0eb23df2020-03-16 20:55:48 +053076#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
eikrwaqdd0962f2018-10-22 11:28:23 +010078 nodePort: 24
rope252cd2142c2018-09-17 12:35:36 +010079 internalPort: 9091
80 externalPort: 9091
81 portName: so-monitor-port
82updateStrategy:
83 type: RollingUpdate
84 maxUnavailable: 1
85 maxSurge: 1
86# Resource Limit flavor -By Default using small
87flavor: small
88#Segregation for different environment (Small or large)
89resources:
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
104readinessProbe:
105 port: 9091
106 initialDelaySeconds: 20
107 periodSeconds: 10
108 timeoutSeconds: 10
109livenessProbe:
110 port: 9091
111 initialDelaySeconds: 40
112 periodSeconds: 10
113 timeoutSeconds: 10
114 successThreshold: 1
115 failureThreshold: 3
116ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200117 enabled: false
118 service:
119 - baseaddr: "somonitoring"
120 name: "so-monitoring"
121 port: 9091
122 config:
123 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100124nodeSelector: {}
125tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100126affinity: {}