blob: a4bf6c370b0499ae473ed0f7ad7b6140d758de7e [file] [log] [blame]
rope252cd2142c2018-09-17 12:35:36 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2018 Ericsson. All rights reserved.
seshukm0df1f8e2020-08-17 21:45:49 +05303# Copyright (C) 2020 Huawei
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +02004# Modifications Copyright © 2020 Nokia
rope252cd2142c2018-09-17 12:35:36 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
20# @author: gareth.roper@ericsson.com
jmacc4f04d32018-10-12 18:24:24 +000021#################################################################
22# Global configuration defaults.
23#################################################################
24global:
25 nodePortPrefix: 302
26 nodePortPrefixExt: 304
27 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020028 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053029 aafAgentImage: onap/aaf/aaf_agent:2.1.20
30 envsubstImage: dibi/envsubst
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020031 aafEnabled: true
jmacc4f04d32018-10-12 18:24:24 +000032 persistence:
33 mountPath: /dockerdata-nfs
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020034 security:
35 aaf:
36 enabled: true
37 aaf:
38 auth:
39 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053040 mariadbGalera:
41 serviceName: mariadb-galera
42 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000043
44#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010045# Secrets metaconfig
46#################################################################
47secrets:
48 - uid: db-user-creds
49 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010050 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010051 login: '{{ .Values.db.userName }}'
52 password: '{{ .Values.db.userPassword }}'
53 passwordPolicy: required
54 - uid: db-admin-creds
55 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010056 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010057 login: '{{ .Values.db.adminName }}'
58 password: '{{ .Values.db.adminPassword }}'
59 passwordPolicy: required
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020060 - uid: app-user-creds
61 type: basicAuth
62 externalSecret: '{{ tpl (default "" .Values.server.monitoring.soMonitoringCredsExternalSecret) . }}'
63 login: '{{ .Values.server.monitoring.username }}'
64 password: '{{ .Values.server.monitoring.password }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010065
66#secretsFilePaths: |
67# - 'my file 1'
68# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010069
70#################################################################
jmacc4f04d32018-10-12 18:24:24 +000071# Application configuration defaults.
72#################################################################
73repository: nexus3.onap.org:10001
deen1985b958d7d2020-12-28 11:56:52 +010074image: onap/so/so-monitoring:1.7.11
jmacc4f04d32018-10-12 18:24:24 +000075pullPolicy: Always
76
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010077db:
78 userName: so_user
79 userPassword: so_User123
80 # userCredsExternalSecret: some secret
81 adminName: so_admin
82 adminPassword: so_Admin123
83 # adminCredsExternalSecret: some secret
84
rope252cd2142c2018-09-17 12:35:36 +010085replicaCount: 1
86minReadySeconds: 10
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020087containerPort: &containerPort 9091
rope252cd2142c2018-09-17 12:35:36 +010088logPath: app/logs/
89app: so-monitoring
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020090
91#################################################################
92# soHelpers part
93#################################################################
94soHelpers:
95 nameOverride: so-monitoring-cert-init
96 certInitializer:
97 nameOverride: so-monitoring-cert-init
98 credsPath: /opt/app/osaaf/local
99 cadi:
100 apiEnforcement: org.onap.so.monitoringPerm
101 containerPort: *containerPort
102
103server:
104 monitoring:
105 username: demo
106 # password: demo123456!
107 # soMonitoringCredsExternalSecret: some secret
108
rope252cd2142c2018-09-17 12:35:36 +0100109service:
seshukm0eb23df2020-03-16 20:55:48 +0530110#Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200111 type: NodePort
eikrwaqdd0962f2018-10-22 11:28:23 +0100112 nodePort: 24
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200113 internalPort: *containerPort
114 externalPort: *containerPort
rope252cd2142c2018-09-17 12:35:36 +0100115 portName: so-monitor-port
116updateStrategy:
117 type: RollingUpdate
118 maxUnavailable: 1
119 maxSurge: 1
120# Resource Limit flavor -By Default using small
121flavor: small
122#Segregation for different environment (Small or large)
123resources:
124 small:
125 requests:
126 memory: 1Gi
127 cpu: 10m
128 limits:
129 memory: 4Gi
130 cpu: 1
131 large:
132 requests:
133 memory: 2Gi
134 cpu: 20m
135 limits:
136 memory: 8Gi
137 cpu: 2
138readinessProbe:
139 port: 9091
140 initialDelaySeconds: 20
141 periodSeconds: 10
142 timeoutSeconds: 10
143livenessProbe:
144 port: 9091
145 initialDelaySeconds: 40
146 periodSeconds: 10
147 timeoutSeconds: 10
148 successThreshold: 1
149 failureThreshold: 3
150ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200151 enabled: false
152 service:
153 - baseaddr: "somonitoring"
154 name: "so-monitoring"
155 port: 9091
156 config:
157 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100158nodeSelector: {}
159tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100160affinity: {}