blob: 6324cab35a1cfba5d2f0ea13f7c55cb826bf0d09 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 AT&T USA
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
25
26#################################################################
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-user-creds
31 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010032 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010033 login: '{{ .Values.db.userName }}'
34 password: '{{ .Values.db.userPassword }}'
35 passwordPolicy: required
36 - uid: db-admin-creds
37 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010038 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010039 login: '{{ .Values.db.adminName }}'
40 password: '{{ .Values.db.adminPassword }}'
41 passwordPolicy: required
42
43#################################################################
jmacc4f04d32018-10-12 18:24:24 +000044# Application configuration defaults.
45#################################################################
46repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053047image: onap/so/request-db-adapter:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000048pullPolicy: Always
49
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010050db:
51 userName: so_user
52 userPassword: so_User123
53 # userCredsExternalSecret: some secret
54 adminName: so_admin
55 adminPassword: so_Admin123
56 # adminCredsExternalSecret: some secret
57
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058replicaCount: 1
59minReadySeconds: 10
60containerPort: 8083
61logPath: ./logs/reqdb/
62app: request-db-adapter
63service:
64 type: ClusterIP
65 internalPort: 8083
66 externalPort: 8083
67 portName: so-reqdb-port
68updateStrategy:
69 type: RollingUpdate
70 maxUnavailable: 1
71 maxSurge: 1
72# Resource Limit flavor -By Default using small
73flavor: small
74# Segregation for Different environment (Small and Large)
75resources:
76 small:
77 limits:
78 memory: 4Gi
79 cpu: 2000m
80 requests:
81 memory: 1Gi
82 cpu: 500m
83 large:
84 limits:
85 memory: 8Gi
86 cpu: 4000m
87 requests:
88 memory: 2Gi
89 cpu: 1000m
90 unlimited: {}
91livenessProbe:
92 path: /manage/health
93 port: 8083
94 scheme: HTTP
95 initialDelaySeconds: 600
96 periodSeconds: 60
97 timeoutSeconds: 10
98 successThreshold: 1
99 failureThreshold: 3
100ingress:
101 enabled: false
102nodeSelector: {}
103tolerations: []
104affinity: {}