blob: 853f019795bbc0aad56f2d47190729db2263ddea [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
krishnaa9692b606b2020-10-30 11:29:21 +053022 mariadbGalera:
Andreas Geissler576de2d2023-10-24 15:38:01 +020023 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053024 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000025
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010026readinessCheck:
27 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053028 jobs:
29 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010030
jmacc4f04d32018-10-12 18:24:24 +000031#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010032# Secrets metaconfig
33#################################################################
34secrets:
35 - uid: db-user-creds
36 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010037 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010038 login: '{{ .Values.db.userName }}'
39 password: '{{ .Values.db.userPassword }}'
40 passwordPolicy: required
41 - uid: db-admin-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010044 login: '{{ .Values.db.adminName }}'
45 password: '{{ .Values.db.adminPassword }}'
46 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010047
48#secretsFilePaths: |
49# - 'my file 1'
50# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010051
52#################################################################
jmacc4f04d32018-10-12 18:24:24 +000053# Application configuration defaults.
54#################################################################
Lukasz Rajewskib6861242022-09-06 13:32:58 +020055image: onap/so/so-etsi-sol005-adapter:1.9.0
jmacc4f04d32018-10-12 18:24:24 +000056pullPolicy: Always
57
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +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
seshukm0df1f8e2020-08-17 21:45:49 +053066mso:
67 adapters:
68 requestDb:
69 auth: Basic YnBlbDpwYXNzd29yZDEk
70
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000071replicaCount: 1
72minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053073containerPort: &containerPort 8084
seshukm87ccd872021-03-30 21:45:16 +053074logPath: ./logs/etsi-sol005-adapter/
75app: etsi-sol005-adapter
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000076service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010077 type: ClusterIP
78 ports:
79 - port: *containerPort
80 name: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000081updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010082 type: RollingUpdate
83 maxUnavailable: 1
84 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053085
86#################################################################
87# soHelpers part
88#################################################################
89soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +053090 containerPort: *containerPort
91
vaibhav16dec0da88292018-08-13 06:10:27 +000092# Resource Limit flavor -By Default using small
93flavor: small
94# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000095resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000096 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000097 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +020098 memory: 1Gi
vladimir turokdb8167b2023-09-20 11:09:21 +020099 cpu: 1
vaibhav16dec0da88292018-08-13 06:10:27 +0000100 requests:
101 memory: 1Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200102 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000103 large:
104 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200105 memory: 2Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200106 cpu: 2
vaibhav16dec0da88292018-08-13 06:10:27 +0000107 requests:
108 memory: 2Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200109 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000110 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000111livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100112 path: /manage/health
113 port: 8084
114 scheme: HTTP
115 initialDelaySeconds: 600
116 periodSeconds: 60
117 timeoutSeconds: 10
118 successThreshold: 1
119 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120ingress:
121 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100122serviceMesh:
123 authorizationPolicy:
124 authorizedPrincipals:
125 - serviceAccount: robot-read
126 - serviceAccount: so-bpmn-infra-read
127 - serviceAccount: so-read
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000128nodeSelector: {}
129tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500130affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200131
132#Pods Service Account
133serviceAccount:
134 nameOverride: so-etsi-sol005-adapter
135 roles:
136 - read