blob: 5a3721abbe247c40e7e7a32f3314c99453dea705 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Mandeep Khinda60d36d42018-09-24 15:15:48 +00003# 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
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053026 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
jmacc4f04d32018-10-12 18:24:24 +000032
33#################################################################
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010034# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: db-user-creds
38 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010039 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010040 login: '{{ .Values.db.userName }}'
41 password: '{{ .Values.db.userPassword }}'
42 passwordPolicy: required
43 - uid: db-admin-creds
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010046 login: '{{ .Values.db.adminName }}'
47 password: '{{ .Values.db.adminPassword }}'
48 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010049
50#secretsFilePaths: |
51# - 'my file 1'
52# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010053
54#################################################################
jmacc4f04d32018-10-12 18:24:24 +000055# Application configuration defaults.
56#################################################################
57repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053058image: onap/so/request-db-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000059pullPolicy: Always
60
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010061db:
62 userName: so_user
63 userPassword: so_User123
64 # userCredsExternalSecret: some secret
65 adminName: so_admin
66 adminPassword: so_Admin123
67 # adminCredsExternalSecret: some secret
68
seshukm0df1f8e2020-08-17 21:45:49 +053069mso:
70 adapters:
71 requestDb:
72 auth: Basic YnBlbDpwYXNzd29yZDEk
73
Mandeep Khinda60d36d42018-09-24 15:15:48 +000074replicaCount: 1
75minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053076containerPort: &containerPort 8083
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077logPath: ./logs/reqdb/
78app: request-db-adapter
79service:
80 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053081 internalPort: *containerPort
82 externalPort: *containerPort
Mandeep Khinda60d36d42018-09-24 15:15:48 +000083 portName: so-reqdb-port
84updateStrategy:
85 type: RollingUpdate
86 maxUnavailable: 1
87 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053088
89#################################################################
90# soHelpers part
91#################################################################
92soHelpers:
93 nameOverride: so-requestdb-cert-init
94 certInitializer:
95 nameOverride: so-requestdb-cert-init
96 credsPath: /opt/app/osaaf/local
97 cadi:
98 apiEnforcement: org.onap.so.requestDbAdapterPerm
99 containerPort: *containerPort
100
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000101# Resource Limit flavor -By Default using small
102flavor: small
103# Segregation for Different environment (Small and Large)
104resources:
105 small:
106 limits:
107 memory: 4Gi
108 cpu: 2000m
109 requests:
110 memory: 1Gi
111 cpu: 500m
112 large:
113 limits:
114 memory: 8Gi
115 cpu: 4000m
116 requests:
117 memory: 2Gi
118 cpu: 1000m
119 unlimited: {}
120livenessProbe:
121 path: /manage/health
122 port: 8083
123 scheme: HTTP
124 initialDelaySeconds: 600
125 periodSeconds: 60
126 timeoutSeconds: 10
127 successThreshold: 1
128 failureThreshold: 3
129ingress:
130 enabled: false
131nodeSelector: {}
132tolerations: []
133affinity: {}