blob: 9ba1d7b7d8f680f479d924ec64174f7d0cdb7529 [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=
jmacc4f04d32018-10-12 18:24:24 +000040
41#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010042# Secrets metaconfig
43#################################################################
44secrets:
45 - uid: db-user-creds
46 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010047 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010048 login: '{{ .Values.db.userName }}'
49 password: '{{ .Values.db.userPassword }}'
50 passwordPolicy: required
51 - uid: db-admin-creds
52 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010053 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010054 login: '{{ .Values.db.adminName }}'
55 password: '{{ .Values.db.adminPassword }}'
56 passwordPolicy: required
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020057 - uid: app-user-creds
58 type: basicAuth
59 externalSecret: '{{ tpl (default "" .Values.server.monitoring.soMonitoringCredsExternalSecret) . }}'
60 login: '{{ .Values.server.monitoring.username }}'
61 password: '{{ .Values.server.monitoring.password }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010062
63#secretsFilePaths: |
64# - 'my file 1'
65# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010066
67#################################################################
jmacc4f04d32018-10-12 18:24:24 +000068# Application configuration defaults.
69#################################################################
70repository: nexus3.onap.org:10001
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020071image: onap/so/so-monitoring:1.7.7
jmacc4f04d32018-10-12 18:24:24 +000072pullPolicy: Always
73
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010074db:
75 userName: so_user
76 userPassword: so_User123
77 # userCredsExternalSecret: some secret
78 adminName: so_admin
79 adminPassword: so_Admin123
80 # adminCredsExternalSecret: some secret
81
rope252cd2142c2018-09-17 12:35:36 +010082replicaCount: 1
83minReadySeconds: 10
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020084containerPort: &containerPort 9091
rope252cd2142c2018-09-17 12:35:36 +010085logPath: app/logs/
86app: so-monitoring
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020087
88#################################################################
89# soHelpers part
90#################################################################
91soHelpers:
92 nameOverride: so-monitoring-cert-init
93 certInitializer:
94 nameOverride: so-monitoring-cert-init
95 credsPath: /opt/app/osaaf/local
96 cadi:
97 apiEnforcement: org.onap.so.monitoringPerm
98 containerPort: *containerPort
99
100server:
101 monitoring:
102 username: demo
103 # password: demo123456!
104 # soMonitoringCredsExternalSecret: some secret
105
rope252cd2142c2018-09-17 12:35:36 +0100106service:
seshukm0eb23df2020-03-16 20:55:48 +0530107#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 +0200108 type: NodePort
eikrwaqdd0962f2018-10-22 11:28:23 +0100109 nodePort: 24
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200110 internalPort: *containerPort
111 externalPort: *containerPort
rope252cd2142c2018-09-17 12:35:36 +0100112 portName: so-monitor-port
113updateStrategy:
114 type: RollingUpdate
115 maxUnavailable: 1
116 maxSurge: 1
117# Resource Limit flavor -By Default using small
118flavor: small
119#Segregation for different environment (Small or large)
120resources:
121 small:
122 requests:
123 memory: 1Gi
124 cpu: 10m
125 limits:
126 memory: 4Gi
127 cpu: 1
128 large:
129 requests:
130 memory: 2Gi
131 cpu: 20m
132 limits:
133 memory: 8Gi
134 cpu: 2
135readinessProbe:
136 port: 9091
137 initialDelaySeconds: 20
138 periodSeconds: 10
139 timeoutSeconds: 10
140livenessProbe:
141 port: 9091
142 initialDelaySeconds: 40
143 periodSeconds: 10
144 timeoutSeconds: 10
145 successThreshold: 1
146 failureThreshold: 3
147ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200148 enabled: false
149 service:
150 - baseaddr: "somonitoring"
151 name: "so-monitoring"
152 port: 9091
153 config:
154 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100155nodeSelector: {}
156tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100157affinity: {}