blob: 02b382fe72af87df4b44eed3ec7a143b77b261f7 [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=
krishnaa9692b606b2020-10-30 11:29:21 +053032 mariadbGalera:
33 serviceName: mariadb-galera
34 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000035
36#################################################################
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-user-creds
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010043 login: '{{ .Values.db.userName }}'
44 password: '{{ .Values.db.userPassword }}'
45 passwordPolicy: required
46 - uid: db-admin-creds
47 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010049 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010052
53#secretsFilePaths: |
54# - 'my file 1'
55# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010056
57#################################################################
jmacc4f04d32018-10-12 18:24:24 +000058# Application configuration defaults.
59#################################################################
60repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053061image: onap/so/request-db-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000062pullPolicy: Always
63
Krzysztof Opasiakf232c992020-03-24 23:08:15 +010064db:
65 userName: so_user
66 userPassword: so_User123
67 # userCredsExternalSecret: some secret
68 adminName: so_admin
69 adminPassword: so_Admin123
70 # adminCredsExternalSecret: some secret
71
seshukm0df1f8e2020-08-17 21:45:49 +053072mso:
73 adapters:
74 requestDb:
75 auth: Basic YnBlbDpwYXNzd29yZDEk
76
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077replicaCount: 1
78minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053079containerPort: &containerPort 8083
Mandeep Khinda60d36d42018-09-24 15:15:48 +000080logPath: ./logs/reqdb/
81app: request-db-adapter
82service:
83 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053084 internalPort: *containerPort
85 externalPort: *containerPort
Mandeep Khinda60d36d42018-09-24 15:15:48 +000086 portName: so-reqdb-port
87updateStrategy:
88 type: RollingUpdate
89 maxUnavailable: 1
90 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053091
92#################################################################
93# soHelpers part
94#################################################################
95soHelpers:
96 nameOverride: so-requestdb-cert-init
97 certInitializer:
98 nameOverride: so-requestdb-cert-init
99 credsPath: /opt/app/osaaf/local
100 cadi:
101 apiEnforcement: org.onap.so.requestDbAdapterPerm
102 containerPort: *containerPort
103
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000104# Resource Limit flavor -By Default using small
105flavor: small
106# Segregation for Different environment (Small and Large)
107resources:
108 small:
109 limits:
110 memory: 4Gi
111 cpu: 2000m
112 requests:
113 memory: 1Gi
114 cpu: 500m
115 large:
116 limits:
117 memory: 8Gi
118 cpu: 4000m
119 requests:
120 memory: 2Gi
121 cpu: 1000m
122 unlimited: {}
123livenessProbe:
124 path: /manage/health
125 port: 8083
126 scheme: HTTP
127 initialDelaySeconds: 600
128 periodSeconds: 60
129 timeoutSeconds: 10
130 successThreshold: 1
131 failureThreshold: 3
132ingress:
133 enabled: false
134nodeSelector: {}
135tolerations: []
136affinity: {}