blob: d45ee69401510a1b705f80c04aa95d381f60602d [file] [log] [blame]
jananib28734e02020-04-08 21:35:45 +05301# Copyright © 2020 Huawei Technologies Co., Ltd.
2#
3# 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.
14#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
jananib28734e02020-04-08 21:35:45 +053020 persistence:
21 mountPath: /dockerdata-nfs
krishnaa9692b606b2020-10-30 11:29:21 +053022 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010023 # flag to enable the DB creation via mariadb-operator
24 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020025 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053026 servicePort: '3306'
jananib28734e02020-04-08 21:35:45 +053027
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010028readinessCheck:
29 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053030 jobs:
31 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032
33
jananib28734e02020-04-08 21:35:45 +053034#################################################################
35# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: db-user-creds
39 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
40 type: basicAuth
41 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
42 login: '{{ .Values.db.userName }}'
43 password: '{{ .Values.db.userPassword }}'
44 passwordPolicy: required
45 - uid: db-admin-creds
46 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
49 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
jananib28734e02020-04-08 21:35:45 +053052 - uid: server-bpel-creds
53 name: '{{ include "common.release" . }}-so-server-bpel-creds'
54 type: basicAuth
55 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
56 login: '{{ .Values.server.bpel.username }}'
57 password: '{{ .Values.server.bpel.password }}'
58 passwordPolicy: required
59 - uid: server-actuator-creds
60 name: '{{ include "common.release" . }}-so-server-actuator-creds'
61 type: basicAuth
62 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
63 login: '{{ .Values.server.actuator.username }}'
64 password: '{{ .Values.server.actuator.password }}'
65 passwordPolicy: required
66
jananib28734e02020-04-08 21:35:45 +053067#secretsFilePaths: |
68# - 'my file 1'
69# - '{{ include "templateThatGeneratesFileName" . }}'
70
71#################################################################
72# Application configuration defaults.
73#################################################################
seshukm5c4f6ac2021-10-18 14:12:55 +053074image: onap/so/so-nssmf-adapter:1.9.1
jananib28734e02020-04-08 21:35:45 +053075pullPolicy: Always
76
Andreas Geissler2c1ba292024-01-10 22:20:05 +010077# Local mariadb galera instance default name
78mariadb-galera:
79 nameOverride: so-mariadb-galera
80 service:
81 internalPort: 3306
82 mariadbOperator:
83 galera:
84 enabled: false
85
jananib28734e02020-04-08 21:35:45 +053086db:
87 userName: so_user
88 userPassword: so_User123
89 # userCredsExternalSecret: some secret
90 adminName: so_admin
91 adminPassword: so_Admin123
92 # adminCredsExternalSecret: some secret
93server:
94 actuator:
95 username: mso_admin
96 password: password1$
97 bpel:
98 username: bpel
99 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +0530100aai:
101 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
102mso:
103 adapters:
104 requestDb:
105 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +0530106
107replicaCount: 1
108minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530109containerPort: &containerPort 8088
seshukm65ba2142021-04-01 21:59:10 +0530110logPath: ./logs/nssmf-adapter/
jananib28734e02020-04-08 21:35:45 +0530111app: nssmf-adapter
112service:
113 type: ClusterIP
114 ports:
Andreas Geissler17be9622022-04-29 13:33:02 +0200115 - name: http
seshukm0df1f8e2020-08-17 21:45:49 +0530116 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530117updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100118 type: RollingUpdate
119 maxUnavailable: 1
120 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530121
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100122#################################################################
123# soHelpers part
124#################################################################
seshukm0df1f8e2020-08-17 21:45:49 +0530125soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530126 containerPort: *containerPort
127
jananib28734e02020-04-08 21:35:45 +0530128# Resource Limit flavor -By Default using small
129flavor: small
130# Segregation for Different environment (Small and Large)
131resources:
132 small:
133 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100134 cpu: "1"
135 memory: "1Gi"
jananib28734e02020-04-08 21:35:45 +0530136 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100137 cpu: "0.5"
138 memory: "1Gi"
jananib28734e02020-04-08 21:35:45 +0530139 large:
140 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100141 cpu: "2"
142 memory: "2Gi"
jananib28734e02020-04-08 21:35:45 +0530143 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100144 cpu: "1"
145 memory: "2Gi"
jananib28734e02020-04-08 21:35:45 +0530146 unlimited: {}
147livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100148 path: /manage/health
149 port: 8088
150 scheme: HTTP
151 initialDelaySeconds: 600
152 periodSeconds: 60
153 timeoutSeconds: 10
154 successThreshold: 1
155 failureThreshold: 3
jananib28734e02020-04-08 21:35:45 +0530156ingress:
157 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100158serviceMesh:
159 authorizationPolicy:
160 authorizedPrincipals:
161 - serviceAccount: robot-read
162 - serviceAccount: so-bpmn-infra-read
163 - serviceAccount: so-read
jananib28734e02020-04-08 21:35:45 +0530164nodeSelector: {}
165tolerations: []
166affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200167
168#Pods Service Account
169serviceAccount:
170 nameOverride: so-nssmf-adapter
171 roles:
172 - read