[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / so / charts / so-monitoring / values.yaml
1 #  ============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
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   repository: nexus3.onap.org:10001
26   readinessImage: onap/oom/readiness:3.0.1
27   persistence:
28     mountPath: /dockerdata-nfs
29
30 #################################################################
31 # Secrets metaconfig
32 #################################################################
33 secrets:
34   - uid: db-user-creds
35     type: basicAuth
36     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
37     login: '{{ .Values.db.userName }}'
38     password: '{{ .Values.db.userPassword }}'
39     passwordPolicy: required
40   - uid: db-admin-creds
41     type: basicAuth
42     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
43     login: '{{ .Values.db.adminName }}'
44     password: '{{ .Values.db.adminPassword }}'
45     passwordPolicy: required
46   - 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" . }}'
54
55 #################################################################
56 # Application configuration defaults.
57 #################################################################
58 repository: nexus3.onap.org:10001
59 image: onap/so/so-monitoring:1.6.4
60 pullPolicy: Always
61
62 db:
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
70 replicaCount: 1
71 minReadySeconds: 10
72 containerPort: 9091
73 logPath: app/logs/
74 app: so-monitoring
75 service:
76 #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
78     nodePort: 24
79     internalPort: 9091
80     externalPort: 9091
81     portName: so-monitor-port
82 updateStrategy:
83     type: RollingUpdate
84     maxUnavailable: 1
85     maxSurge: 1
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 #Segregation for different environment (Small or large)
89 resources:
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
104 readinessProbe:
105     port: 9091
106     initialDelaySeconds: 20
107     periodSeconds: 10
108     timeoutSeconds: 10
109 livenessProbe:
110     port: 9091
111     initialDelaySeconds: 40
112     periodSeconds: 10
113     timeoutSeconds: 10
114     successThreshold: 1
115     failureThreshold: 3
116 ingress:
117     enabled: false
118     service:
119         - baseaddr: "somonitoring"
120           name: "so-monitoring"
121           port: 9091
122     config:
123         ssl: "none"
124 nodeSelector: {}
125 tolerations: []
126 affinity: {}