blob: 2f890421e6b1a461a0b99a681c79e5a08caecf5d [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
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010042 - uid: "so-onap-certs"
43 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
44 type: generic
45 filePaths: '{{ .Values.secretsFilePaths }}'
46
47#secretsFilePaths: |
48# - 'my file 1'
49# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010050
51#################################################################
jmacc4f04d32018-10-12 18:24:24 +000052# Application configuration defaults.
53#################################################################
54repository: nexus3.onap.org:10001
seshukm8325af52020-03-27 22:20:41 +053055image: onap/so/request-db-adapter:1.6.0
jmacc4f04d32018-10-12 18:24:24 +000056pullPolicy: Always
57
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010058db:
59 userName: so_user
60 userPassword: so_User123
61 # userCredsExternalSecret: some secret
62 adminName: so_admin
63 adminPassword: so_Admin123
64 # adminCredsExternalSecret: some secret
65
Mandeep Khinda60d36d42018-09-24 15:15:48 +000066replicaCount: 1
67minReadySeconds: 10
68containerPort: 8083
69logPath: ./logs/reqdb/
70app: request-db-adapter
71service:
72 type: ClusterIP
73 internalPort: 8083
74 externalPort: 8083
75 portName: so-reqdb-port
76updateStrategy:
77 type: RollingUpdate
78 maxUnavailable: 1
79 maxSurge: 1
80# Resource Limit flavor -By Default using small
81flavor: small
82# Segregation for Different environment (Small and Large)
83resources:
84 small:
85 limits:
86 memory: 4Gi
87 cpu: 2000m
88 requests:
89 memory: 1Gi
90 cpu: 500m
91 large:
92 limits:
93 memory: 8Gi
94 cpu: 4000m
95 requests:
96 memory: 2Gi
97 cpu: 1000m
98 unlimited: {}
99livenessProbe:
100 path: /manage/health
101 port: 8083
102 scheme: HTTP
103 initialDelaySeconds: 600
104 periodSeconds: 60
105 timeoutSeconds: 10
106 successThreshold: 1
107 failureThreshold: 3
108ingress:
109 enabled: false
110nodeSelector: {}
111tolerations: []
112affinity: {}