blob: 345f8746d853a54366c4b3f13807032084ea6752 [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 Geissler576de2d2023-10-24 15:38:01 +020026 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053027 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000028
29#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010030# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: db-user-creds
34 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010035 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010036 login: '{{ .Values.db.userName }}'
37 password: '{{ .Values.db.userPassword }}'
38 passwordPolicy: required
39 - uid: db-admin-creds
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010042 login: '{{ .Values.db.adminName }}'
43 password: '{{ .Values.db.adminPassword }}'
44 passwordPolicy: required
seshukm610d97d2021-03-19 02:57:36 +053045 - uid: sdnc-adapter-mso-key
46 name: '{{ include "common.release" . }}-so-sdnc-mso-key'
47 type: password
48 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
49 password: '{{ .Values.mso.msoKey }}'
seshukm610d97d2021-03-19 02:57:36 +053050 - uid: sdnc-adapter-mso-auth
51 name: '{{ include "common.release" . }}-so-sdnc-mso-auth'
52 type: password
53 externalSecret: '{{ tpl (default "" .Values.mso.authSecret) . }}'
54 password: '{{ .Values.mso.auth }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010055#secretsFilePaths: |
56# - 'my file 1'
57# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010058
59#################################################################
jmacc4f04d32018-10-12 18:24:24 +000060# Application configuration defaults.
61#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000062image: onap/so/sdnc-adapter:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000063pullPolicy: Always
64
seshukm0df1f8e2020-08-17 21:45:49 +053065org:
66 onap:
67 so:
68 adapters:
69 sdnc:
70 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
71 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
72 network:
73 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
74mso:
seshukm610d97d2021-03-19 02:57:36 +053075 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
76 #msoKeySecret: some secret
77 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
78 #authSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053079 adapters:
80 requestDb:
81 auth: Basic YnBlbDpwYXNzd29yZDEk
82
Krzysztof Opasiak57431412020-03-24 23:18:49 +010083db:
84 userName: so_user
85 userPassword: so_User123
86 # userCredsExternalSecret: some secret
87 adminName: so_admin
88 adminPassword: so_Admin123
89 # adminCredsExternalSecret: some secret
90
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091replicaCount: 1
92minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053093containerPort: &containerPort 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000094logPath: ./logs/sdnc/
95app: sdnc-adapter
96service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010097 type: ClusterIP
98 ports:
99 - name: http
100 port: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000101updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100102 type: RollingUpdate
103 maxUnavailable: 1
104 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530105
106#################################################################
107# soHelpers part
108#################################################################
109soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530110 containerPort: *containerPort
111
vaibhav16dec0da88292018-08-13 06:10:27 +0000112# Resource Limit flavor -By Default using small
113flavor: small
114# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000115resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200118 memory: 1.5Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200119 cpu: 1
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200121 memory: 1.5Gi
122 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000123 large:
124 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200125 memory: 3Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200126 cpu: 2
vaibhav16dec0da88292018-08-13 06:10:27 +0000127 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200128 memory: 3Gi
129 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000131livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100132 path: /manage/health
133 port: 8086
134 scheme: HTTP
135 initialDelaySeconds: 600
136 periodSeconds: 60
137 timeoutSeconds: 10
138 successThreshold: 1
139 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000140ingress:
141 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100142serviceMesh:
143 authorizationPolicy:
144 authorizedPrincipals:
145 - serviceAccount: robot-read
146 - serviceAccount: so-bpmn-infra-read
147 - serviceAccount: so-read
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000148nodeSelector: {}
149tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500150affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200151
152#Pods Service Account
153serviceAccount:
154 nameOverride: so-sdnc-adapter
155 roles:
156 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000157
158#Logs configuration
159log:
160 path: /var/log/onap
161logConfigMapNamePrefix: '{{ include "common.fullname" . }}'