blob: b20f318658938ae60fc518e3892564b00be4bc05 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +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
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053034 jobs:
35 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036
jmacc4f04d32018-10-12 18:24:24 +000037#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010038# Secrets metaconfig
39#################################################################
40secrets:
41 - uid: db-user-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010044 login: '{{ .Values.db.userName }}'
45 password: '{{ .Values.db.userPassword }}'
46 passwordPolicy: required
47 - uid: db-admin-creds
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010050 login: '{{ .Values.db.adminName }}'
51 password: '{{ .Values.db.adminPassword }}'
52 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010053
54#secretsFilePaths: |
55# - 'my file 1'
56# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010057
58#################################################################
jmacc4f04d32018-10-12 18:24:24 +000059# Application configuration defaults.
60#################################################################
Lukasz Rajewskib6861242022-09-06 13:32:58 +020061image: onap/so/so-etsi-sol005-adapter:1.9.0
jmacc4f04d32018-10-12 18:24:24 +000062pullPolicy: Always
63
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +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
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000077replicaCount: 1
78minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053079containerPort: &containerPort 8084
seshukm87ccd872021-03-30 21:45:16 +053080logPath: ./logs/etsi-sol005-adapter/
81app: etsi-sol005-adapter
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000082service:
83 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053084 internalPort: *containerPort
85 externalPort: *containerPort
seshukm87ccd872021-03-30 21:45:16 +053086 portName: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087updateStrategy:
88 type: RollingUpdate
89 maxUnavailable: 1
90 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053091
92
93#################################################################
94# soHelpers part
95#################################################################
96soHelpers:
seshukm87ccd872021-03-30 21:45:16 +053097 nameOverride: so-etsi-sol005-cert-init
seshukm0df1f8e2020-08-17 21:45:49 +053098 certInitializer:
seshukm87ccd872021-03-30 21:45:16 +053099 nameOverride: so-etsi-sol005-cert-init
seshukm0df1f8e2020-08-17 21:45:49 +0530100 credsPath: /opt/app/osaaf/local
101 cadi:
102 apiEnforcement: org.onap.so.vfcAdapterPerm
103 containerPort: *containerPort
104
vaibhav16dec0da88292018-08-13 06:10:27 +0000105# Resource Limit flavor -By Default using small
106flavor: small
107# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000108resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000109 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000110 limits:
111 memory: 4Gi
112 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000113 requests:
114 memory: 1Gi
115 cpu: 500m
116 large:
117 limits:
118 memory: 8Gi
119 cpu: 4000m
120 requests:
121 memory: 2Gi
122 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000123 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000124livenessProbe:
125 path: /manage/health
126 port: 8084
127 scheme: HTTP
128 initialDelaySeconds: 600
129 periodSeconds: 60
130 timeoutSeconds: 10
131 successThreshold: 1
132 failureThreshold: 3
133ingress:
134 enabled: false
135nodeSelector: {}
136tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500137affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200138
139#Pods Service Account
140serviceAccount:
141 nameOverride: so-etsi-sol005-adapter
142 roles:
143 - read