blob: 6562d8496ad30321252aa484eb7db80970f44ef1 [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 Geissler576de2d2023-10-24 15:38:01 +020023 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053024 servicePort: '3306'
jananib28734e02020-04-08 21:35:45 +053025
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
31
jananib28734e02020-04-08 21:35:45 +053032#################################################################
33# Secrets metaconfig
34#################################################################
35secrets:
36 - uid: db-user-creds
37 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
38 type: basicAuth
39 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
40 login: '{{ .Values.db.userName }}'
41 password: '{{ .Values.db.userPassword }}'
42 passwordPolicy: required
43 - uid: db-admin-creds
44 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
45 type: basicAuth
46 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
47 login: '{{ .Values.db.adminName }}'
48 password: '{{ .Values.db.adminPassword }}'
49 passwordPolicy: required
jananib28734e02020-04-08 21:35:45 +053050 - uid: server-bpel-creds
51 name: '{{ include "common.release" . }}-so-server-bpel-creds'
52 type: basicAuth
53 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
54 login: '{{ .Values.server.bpel.username }}'
55 password: '{{ .Values.server.bpel.password }}'
56 passwordPolicy: required
57 - uid: server-actuator-creds
58 name: '{{ include "common.release" . }}-so-server-actuator-creds'
59 type: basicAuth
60 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
61 login: '{{ .Values.server.actuator.username }}'
62 password: '{{ .Values.server.actuator.password }}'
63 passwordPolicy: required
64
jananib28734e02020-04-08 21:35:45 +053065#secretsFilePaths: |
66# - 'my file 1'
67# - '{{ include "templateThatGeneratesFileName" . }}'
68
69#################################################################
70# Application configuration defaults.
71#################################################################
seshukm5c4f6ac2021-10-18 14:12:55 +053072image: onap/so/so-nssmf-adapter:1.9.1
jananib28734e02020-04-08 21:35:45 +053073pullPolicy: Always
74
75db:
76 userName: so_user
77 userPassword: so_User123
78 # userCredsExternalSecret: some secret
79 adminName: so_admin
80 adminPassword: so_Admin123
81 # adminCredsExternalSecret: some secret
82server:
83 actuator:
84 username: mso_admin
85 password: password1$
86 bpel:
87 username: bpel
88 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +053089aai:
90 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
91mso:
92 adapters:
93 requestDb:
94 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +053095
96replicaCount: 1
97minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053098containerPort: &containerPort 8088
seshukm65ba2142021-04-01 21:59:10 +053099logPath: ./logs/nssmf-adapter/
jananib28734e02020-04-08 21:35:45 +0530100app: nssmf-adapter
101service:
102 type: ClusterIP
103 ports:
Andreas Geissler17be9622022-04-29 13:33:02 +0200104 - name: http
seshukm0df1f8e2020-08-17 21:45:49 +0530105 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530106updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100107 type: RollingUpdate
108 maxUnavailable: 1
109 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530110
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100111#################################################################
112# soHelpers part
113#################################################################
seshukm0df1f8e2020-08-17 21:45:49 +0530114soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530115 containerPort: *containerPort
116
jananib28734e02020-04-08 21:35:45 +0530117# Resource Limit flavor -By Default using small
118flavor: small
119# Segregation for Different environment (Small and Large)
120resources:
121 small:
122 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200123 memory: 1Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200124 cpu: 1
jananib28734e02020-04-08 21:35:45 +0530125 requests:
126 memory: 1Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200127 cpu: 0.5
jananib28734e02020-04-08 21:35:45 +0530128 large:
129 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200130 memory: 2Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200131 cpu: 2
jananib28734e02020-04-08 21:35:45 +0530132 requests:
133 memory: 2Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200134 cpu: 1
jananib28734e02020-04-08 21:35:45 +0530135 unlimited: {}
136livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100137 path: /manage/health
138 port: 8088
139 scheme: HTTP
140 initialDelaySeconds: 600
141 periodSeconds: 60
142 timeoutSeconds: 10
143 successThreshold: 1
144 failureThreshold: 3
jananib28734e02020-04-08 21:35:45 +0530145ingress:
146 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100147serviceMesh:
148 authorizationPolicy:
149 authorizedPrincipals:
150 - serviceAccount: robot-read
151 - serviceAccount: so-bpmn-infra-read
152 - serviceAccount: so-read
jananib28734e02020-04-08 21:35:45 +0530153nodeSelector: {}
154tolerations: []
155affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200156
157#Pods Service Account
158serviceAccount:
159 nameOverride: so-nssmf-adapter
160 roles:
161 - read