blob: e746baf1bb0741d576518fb5793c07204785ff4a [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
rope252cd2142c2018-09-17 12:35:36 +01004# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17# SPDX-License-Identifier: Apache-2.0
18# ============LICENSE_END=========================================================
19# @author: gareth.roper@ericsson.com
jmacc4f04d32018-10-12 18:24:24 +000020#################################################################
21# Global configuration defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
26 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020027 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053028 aafAgentImage: onap/aaf/aaf_agent:2.1.20
29 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000030 persistence:
31 mountPath: /dockerdata-nfs
32
33#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010034# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: db-user-creds
38 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010039 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010040 login: '{{ .Values.db.userName }}'
41 password: '{{ .Values.db.userPassword }}'
42 passwordPolicy: required
43 - uid: db-admin-creds
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010046 login: '{{ .Values.db.adminName }}'
47 password: '{{ .Values.db.adminPassword }}'
48 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010049
50#secretsFilePaths: |
51# - 'my file 1'
52# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010053
54#################################################################
seshukm0df1f8e2020-08-17 21:45:49 +053055# AAF part
56#################################################################
57soHelpers:
58 nameOverride: so-monitoring-cert-init
59 certInitializer:
60 nameOverride: so-monitoring-cert-init
61 credsPath: /opt/app/osaaf/local
62
63#################################################################
jmacc4f04d32018-10-12 18:24:24 +000064# Application configuration defaults.
65#################################################################
66repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053067image: onap/so/so-monitoring:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000068pullPolicy: Always
69
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010070db:
71 userName: so_user
72 userPassword: so_User123
73 # userCredsExternalSecret: some secret
74 adminName: so_admin
75 adminPassword: so_Admin123
76 # adminCredsExternalSecret: some secret
77
rope252cd2142c2018-09-17 12:35:36 +010078replicaCount: 1
79minReadySeconds: 10
80containerPort: 9091
81logPath: app/logs/
82app: so-monitoring
83service:
seshukm0eb23df2020-03-16 20:55:48 +053084#Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
85 type: ClusterIP
eikrwaqdd0962f2018-10-22 11:28:23 +010086 nodePort: 24
rope252cd2142c2018-09-17 12:35:36 +010087 internalPort: 9091
88 externalPort: 9091
89 portName: so-monitor-port
90updateStrategy:
91 type: RollingUpdate
92 maxUnavailable: 1
93 maxSurge: 1
94# Resource Limit flavor -By Default using small
95flavor: small
96#Segregation for different environment (Small or large)
97resources:
98 small:
99 requests:
100 memory: 1Gi
101 cpu: 10m
102 limits:
103 memory: 4Gi
104 cpu: 1
105 large:
106 requests:
107 memory: 2Gi
108 cpu: 20m
109 limits:
110 memory: 8Gi
111 cpu: 2
112readinessProbe:
113 port: 9091
114 initialDelaySeconds: 20
115 periodSeconds: 10
116 timeoutSeconds: 10
117livenessProbe:
118 port: 9091
119 initialDelaySeconds: 40
120 periodSeconds: 10
121 timeoutSeconds: 10
122 successThreshold: 1
123 failureThreshold: 3
124ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200125 enabled: false
126 service:
127 - baseaddr: "somonitoring"
128 name: "so-monitoring"
129 port: 9091
130 config:
131 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100132nodeSelector: {}
133tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100134affinity: {}