Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-bpmn-infra / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
3 # Copyright © 2024 Deutsche Telekom Intellectual Property. All rights reserved.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   persistence:
22     mountPath: /dockerdata-nfs
23   #This configuration specifies Service and port for SDNC OAM interface
24   sdncOamService: sdnc-oam
25   sdncOamPort: 8282
26   mariadbGalera:
27     # flag to enable the DB creation via mariadb-operator
28     useOperator: true
29     service: mariadb-galera
30     servicePort: '3306'
31
32 readinessCheck:
33   wait_for:
34     jobs:
35       - '{{ include "common.release" . }}-so-mariadb-config-job'
36
37 #################################################################
38 # Secrets metaconfig
39 #################################################################
40 secrets:
41   - uid: db-user-creds
42     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
43     type: basicAuth
44     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
45     login: '{{ .Values.db.userName }}'
46     password: '{{ .Values.db.userPassword }}'
47     passwordPolicy: required
48   - uid: db-admin-creds
49     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
50     type: basicAuth
51     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
52     login: '{{ .Values.db.adminName }}'
53     password: '{{ .Values.db.adminPassword }}'
54     passwordPolicy: required
55
56 #secretsFilePaths: |
57 #  - 'my file 1'
58 #  - '{{ include "templateThatGeneratesFileName" . }}'
59
60 #################################################################
61 # Application configuration defaults.
62 #################################################################
63 image: onap/so/bpmn-infra:1.13.0
64 pullPolicy: Always
65
66 kafkaUser:
67   acls:
68     - name: so-consumer
69       type: group
70       patternType: literal
71       operations: [Read]
72     - name: unauthenticated.PNF_READY
73       type: topic
74       patternType: literal
75       operations: [Read]
76     - name: unauthenticated.PNF_UPDATE
77       type: topic
78       patternType: literal
79       operations: [Read]
80
81 bpmn:
82   historyTTL: 14
83
84 camunda:
85   sundayCleanupWindowStartTime: "04:00"
86   sundayCleanupWindowEndTime: "10:00"
87
88 # Local mariadb galera instance default name
89 mariadb-galera:
90   nameOverride: so-mariadb-galera
91   service:
92     internalPort: 3306
93   mariadbOperator:
94     galera:
95       enabled: false
96
97 db:
98   userName: so_user
99   userPassword: so_User123
100   # userCredsExternalSecret: some secret
101   adminName: so_admin
102   adminPassword: so_Admin123
103   # adminCredsExternalSecret: some secret
104
105 aai:
106   auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
107
108 cds:
109   auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
110
111 mso:
112   key: 07a7159d3bf51a0e53be7a8f89699be7
113   adapters:
114     requestDb:
115       auth: Basic YnBlbDpwYXNzd29yZDEk
116     db:
117       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
118       password: wLg4sjrAFUS8rfVfdvTXeQ==
119     po:
120       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
121   sdnc:
122     password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
123   sniro:
124     auth: test:testpwd
125   oof:
126     auth: test:testpwd
127 so:
128   sol003:
129     adapter:
130       auth: Basic dm5mbTpwYXNzd29yZDEk
131 sniro:
132   endpoint: http://replaceme:28090/optimizationInstance/V1/create
133
134 vnf:
135   api:
136     version: v2
137
138 replicaCount: 1
139 minReadySeconds: 10
140 containerPort: &containerPort 8081
141 logPath: ./logs/bpmn/
142 app: so-bpmn-infra
143 service:
144   type: ClusterIP
145   ports:
146   - port: *containerPort
147     name: http
148 updateStrategy:
149   type: RollingUpdate
150   maxUnavailable: 1
151   maxSurge: 1
152
153 #################################################################
154 # soHelpers part
155 #################################################################
156 soHelpers:
157   containerPort: *containerPort
158
159 # Resource Limit flavor -By Default using small
160 flavor: large
161 # Segregation for Different environment (Small and Large)
162 resources:
163   small:
164     limits:
165       cpu: "1"
166       memory: "3Gi"
167     requests:
168       cpu: "0.5"
169       memory: "3Gi"
170   large:
171     limits:
172       cpu: "2"
173       memory: "6Gi"
174     requests:
175       cpu: "1"
176       memory: "6Gi"
177   unlimited: {}
178 livenessProbe:
179   path: /manage/health
180   scheme: HTTP
181   initialDelaySeconds: 600
182   periodSeconds: 60
183   timeoutSeconds: 10
184   successThreshold: 1
185   failureThreshold: 3
186 ingress:
187   enabled: false
188 serviceMesh:
189   authorizationPolicy:
190     authorizedPrincipals:
191       - serviceAccount: robot-read
192       - serviceAccount: so-admin-cockpit-read
193       - serviceAccount: so-oof-adapter-read
194       - serviceAccount: so-openstack-adapter-read
195       - serviceAccount: so-read
196       - serviceAccount: so-sdc-controller-read
197       - serviceAccount: so-sdnc-adapter-read
198 nodeSelector: {}
199 tolerations: []
200 affinity: {}
201
202 #Pods Service Account
203 serviceAccount:
204   nameOverride: so-bpmn-infra
205   roles:
206     - read
207
208 #Log configuration
209 log:
210   path: /var/log/onap
211 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'