blob: d4be6ed7635a937996d04203338cc0ec3d1aa5b4 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jmacc4f04d32018-10-12 18:24:24 +000022 persistence:
23 mountPath: /dockerdata-nfs
24
25#################################################################
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: db-user-creds
30 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010031 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010032 login: '{{ .Values.db.userName }}'
33 password: '{{ .Values.db.userPassword }}'
34 passwordPolicy: required
35 - uid: db-admin-creds
36 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010037 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010038 login: '{{ .Values.db.adminName }}'
39 password: '{{ .Values.db.adminPassword }}'
40 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010041 - uid: "so-onap-certs"
42 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
43 type: generic
44 filePaths: '{{ .Values.secretsFilePaths }}'
45
46#secretsFilePaths: |
47# - 'my file 1'
48# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010049
50#################################################################
jmacc4f04d32018-10-12 18:24:24 +000051# Application configuration defaults.
52#################################################################
53repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053054image: onap/so/request-db-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000055pullPolicy: Always
56
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010057db:
58 userName: so_user
59 userPassword: so_User123
60 # userCredsExternalSecret: some secret
61 adminName: so_admin
62 adminPassword: so_Admin123
63 # adminCredsExternalSecret: some secret
64
Mandeep Khinda60d36d42018-09-24 15:15:48 +000065replicaCount: 1
66minReadySeconds: 10
67containerPort: 8083
68logPath: ./logs/reqdb/
69app: request-db-adapter
70service:
71 type: ClusterIP
72 internalPort: 8083
73 externalPort: 8083
74 portName: so-reqdb-port
75updateStrategy:
76 type: RollingUpdate
77 maxUnavailable: 1
78 maxSurge: 1
79# Resource Limit flavor -By Default using small
80flavor: small
81# Segregation for Different environment (Small and Large)
82resources:
83 small:
84 limits:
85 memory: 4Gi
86 cpu: 2000m
87 requests:
88 memory: 1Gi
89 cpu: 500m
90 large:
91 limits:
92 memory: 8Gi
93 cpu: 4000m
94 requests:
95 memory: 2Gi
96 cpu: 1000m
97 unlimited: {}
98livenessProbe:
99 path: /manage/health
100 port: 8083
101 scheme: HTTP
102 initialDelaySeconds: 600
103 periodSeconds: 60
104 timeoutSeconds: 10
105 successThreshold: 1
106 failureThreshold: 3
107ingress:
108 enabled: false
109nodeSelector: {}
110tolerations: []
111affinity: {}