blob: 8e6c044cc6b837c22038f243c643dd5111dbb0e7 [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
Konrad Bańka7bde1d62020-04-01 16:09:11 +020022 #This configuration specifies Service and port for SDNC OAM interface
23 sdncOamService: sdnc-oam
24 sdncOamPort: 8282
krishnaa9692b606b2020-10-30 11:29:21 +053025 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010026 # flag to enable the DB creation via mariadb-operator
27 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020028 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053029 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000030
31#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +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 Opasiak57431412020-03-24 23:18:49 +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 Opasiak57431412020-03-24 23:18:49 +010044 login: '{{ .Values.db.adminName }}'
45 password: '{{ .Values.db.adminPassword }}'
46 passwordPolicy: required
seshukm610d97d2021-03-19 02:57:36 +053047 - uid: sdnc-adapter-mso-key
48 name: '{{ include "common.release" . }}-so-sdnc-mso-key'
49 type: password
50 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
51 password: '{{ .Values.mso.msoKey }}'
seshukm610d97d2021-03-19 02:57:36 +053052 - uid: sdnc-adapter-mso-auth
53 name: '{{ include "common.release" . }}-so-sdnc-mso-auth'
54 type: password
55 externalSecret: '{{ tpl (default "" .Values.mso.authSecret) . }}'
56 password: '{{ .Values.mso.auth }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010057#secretsFilePaths: |
58# - 'my file 1'
59# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010060
61#################################################################
jmacc4f04d32018-10-12 18:24:24 +000062# Application configuration defaults.
63#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000064image: onap/so/sdnc-adapter:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000065pullPolicy: Always
66
seshukm0df1f8e2020-08-17 21:45:49 +053067org:
68 onap:
69 so:
70 adapters:
71 sdnc:
72 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
73 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
74 network:
75 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
76mso:
seshukm610d97d2021-03-19 02:57:36 +053077 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
78 #msoKeySecret: some secret
79 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
80 #authSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053081 adapters:
82 requestDb:
83 auth: Basic YnBlbDpwYXNzd29yZDEk
84
Andreas Geissler2c1ba292024-01-10 22:20:05 +010085# Local mariadb galera instance default name
86mariadb-galera:
87 nameOverride: so-mariadb-galera
88 service:
89 internalPort: 3306
90 mariadbOperator:
91 galera:
92 enabled: false
93
Krzysztof Opasiak57431412020-03-24 23:18:49 +010094db:
95 userName: so_user
96 userPassword: so_User123
97 # userCredsExternalSecret: some secret
98 adminName: so_admin
99 adminPassword: so_Admin123
100 # adminCredsExternalSecret: some secret
101
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000102replicaCount: 1
103minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530104containerPort: &containerPort 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000105logPath: ./logs/sdnc/
106app: sdnc-adapter
107service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100108 type: ClusterIP
109 ports:
110 - name: http
111 port: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000112updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100113 type: RollingUpdate
114 maxUnavailable: 1
115 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530116
117#################################################################
118# soHelpers part
119#################################################################
120soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530121 containerPort: *containerPort
122
vaibhav16dec0da88292018-08-13 06:10:27 +0000123# Resource Limit flavor -By Default using small
124flavor: small
125# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000126resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000127 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000128 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200129 memory: 1.5Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200130 cpu: 1
vaibhav16dec0da88292018-08-13 06:10:27 +0000131 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200132 memory: 1.5Gi
133 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000134 large:
135 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200136 memory: 3Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200137 cpu: 2
vaibhav16dec0da88292018-08-13 06:10:27 +0000138 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200139 memory: 3Gi
140 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000141 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000142livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100143 path: /manage/health
144 port: 8086
145 scheme: HTTP
146 initialDelaySeconds: 600
147 periodSeconds: 60
148 timeoutSeconds: 10
149 successThreshold: 1
150 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000151ingress:
152 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100153serviceMesh:
154 authorizationPolicy:
155 authorizedPrincipals:
156 - serviceAccount: robot-read
157 - serviceAccount: so-bpmn-infra-read
158 - serviceAccount: so-read
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000159nodeSelector: {}
160tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500161affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200162
163#Pods Service Account
164serviceAccount:
165 nameOverride: so-sdnc-adapter
166 roles:
167 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000168
169#Logs configuration
170log:
171 path: /var/log/onap
172logConfigMapNamePrefix: '{{ include "common.fullname" . }}'