[SO] update the so-etsi-nfvo-ns-lcm version
[oom.git] / kubernetes / so / components / so-monitoring / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2018 Ericsson. All rights reserved.
3 #   Copyright (C) 2020 Huawei
4 #   Modifications Copyright © 2020 Nokia
5 #  ================================================================================
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
21 #################################################################
22 # Global configuration defaults.
23 #################################################################
24 global:
25   nodePortPrefix: 302
26   nodePortPrefixExt: 304
27   repository: nexus3.onap.org:10001
28   readinessImage: onap/oom/readiness:3.0.1
29   aafAgentImage: onap/aaf/aaf_agent:2.1.20
30   envsubstImage: dibi/envsubst
31   aafEnabled: true
32   persistence:
33     mountPath: /dockerdata-nfs
34   security:
35     aaf:
36       enabled: true
37   aaf:
38     auth:
39       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
40
41 #################################################################
42 # Secrets metaconfig
43 #################################################################
44 secrets:
45   - uid: db-user-creds
46     type: basicAuth
47     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
48     login: '{{ .Values.db.userName }}'
49     password: '{{ .Values.db.userPassword }}'
50     passwordPolicy: required
51   - uid: db-admin-creds
52     type: basicAuth
53     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
54     login: '{{ .Values.db.adminName }}'
55     password: '{{ .Values.db.adminPassword }}'
56     passwordPolicy: required
57   - 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 }}'
62
63 #secretsFilePaths: |
64 #  - 'my file 1'
65 #  - '{{ include "templateThatGeneratesFileName" . }}'
66
67 #################################################################
68 # Application configuration defaults.
69 #################################################################
70 repository: nexus3.onap.org:10001
71 image: onap/so/so-monitoring:1.7.7
72 pullPolicy: Always
73
74 db:
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
82 replicaCount: 1
83 minReadySeconds: 10
84 containerPort: &containerPort 9091
85 logPath: app/logs/
86 app: so-monitoring
87
88 #################################################################
89 # soHelpers part
90 #################################################################
91 soHelpers:
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
100 server:
101   monitoring:
102     username: demo
103     # password: demo123456!
104     # soMonitoringCredsExternalSecret: some secret
105
106 service:
107 #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
108     type: NodePort
109     nodePort: 24
110     internalPort: *containerPort
111     externalPort: *containerPort
112     portName: so-monitor-port
113 updateStrategy:
114     type: RollingUpdate
115     maxUnavailable: 1
116     maxSurge: 1
117 # Resource Limit flavor -By Default using small
118 flavor: small
119 #Segregation for different environment (Small or large)
120 resources:
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
135 readinessProbe:
136     port: 9091
137     initialDelaySeconds: 20
138     periodSeconds: 10
139     timeoutSeconds: 10
140 livenessProbe:
141     port: 9091
142     initialDelaySeconds: 40
143     periodSeconds: 10
144     timeoutSeconds: 10
145     successThreshold: 1
146     failureThreshold: 3
147 ingress:
148     enabled: false
149     service:
150         - baseaddr: "somonitoring"
151           name: "so-monitoring"
152           port: 9091
153     config:
154         ssl: "none"
155 nodeSelector: {}
156 tolerations: []
157 affinity: {}