f47d1429584ce281e3847f18d46261459f245336
[oom.git] / kubernetes / so / components / so-bpmn-infra / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   persistence:
21     mountPath: /dockerdata-nfs
22   #This configuration specifies Service and port for SDNC OAM interface
23   sdncOamService: sdnc-oam
24   sdncOamPort: 8282
25   mariadbGalera:
26     # flag to enable the DB creation via mariadb-operator
27     useOperator: true
28     service: mariadb-galera
29     servicePort: '3306'
30
31 readinessCheck:
32   wait_for:
33     jobs:
34       - '{{ include "common.release" . }}-so-mariadb-config-job'
35
36 #################################################################
37 # Secrets metaconfig
38 #################################################################
39 secrets:
40   - uid: db-user-creds
41     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
44     login: '{{ .Values.db.userName }}'
45     password: '{{ .Values.db.userPassword }}'
46     passwordPolicy: required
47   - uid: db-admin-creds
48     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
49     type: basicAuth
50     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
51     login: '{{ .Values.db.adminName }}'
52     password: '{{ .Values.db.adminPassword }}'
53     passwordPolicy: required
54
55 #secretsFilePaths: |
56 #  - 'my file 1'
57 #  - '{{ include "templateThatGeneratesFileName" . }}'
58
59 #################################################################
60 # Application configuration defaults.
61 #################################################################
62 image: onap/so/bpmn-infra:1.12.2
63 pullPolicy: Always
64
65 bpmn:
66   historyTTL: 14
67
68 camunda:
69   sundayCleanupWindowStartTime: "04:00"
70   sundayCleanupWindowEndTime: "10:00"
71
72 # Local mariadb galera instance default name
73 mariadb-galera:
74   nameOverride: so-mariadb-galera
75   service:
76     internalPort: 3306
77   mariadbOperator:
78     galera:
79       enabled: false
80
81 db:
82   userName: so_user
83   userPassword: so_User123
84   # userCredsExternalSecret: some secret
85   adminName: so_admin
86   adminPassword: so_Admin123
87   # adminCredsExternalSecret: some secret
88
89 aai:
90   auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
91
92 cds:
93   auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
94
95 mso:
96   key: 07a7159d3bf51a0e53be7a8f89699be7
97   adapters:
98     requestDb:
99       auth: Basic YnBlbDpwYXNzd29yZDEk
100     db:
101       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
102       password: wLg4sjrAFUS8rfVfdvTXeQ==
103     po:
104       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
105   sdnc:
106     password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
107   sniro:
108     auth: test:testpwd
109   oof:
110     auth: test:testpwd
111 so:
112   sol003:
113     adapter:
114       auth: Basic dm5mbTpwYXNzd29yZDEk
115 sniro:
116   endpoint: http://replaceme:28090/optimizationInstance/V1/create
117
118 vnf:
119   api:
120     version: v2
121
122 replicaCount: 1
123 minReadySeconds: 10
124 containerPort: &containerPort 8081
125 logPath: ./logs/bpmn/
126 app: so-bpmn-infra
127 service:
128   type: ClusterIP
129   ports:
130   - port: *containerPort
131     name: http
132 updateStrategy:
133   type: RollingUpdate
134   maxUnavailable: 1
135   maxSurge: 1
136
137 #################################################################
138 # soHelpers part
139 #################################################################
140 soHelpers:
141   containerPort: *containerPort
142
143 # Resource Limit flavor -By Default using small
144 flavor: large
145 # Segregation for Different environment (Small and Large)
146 resources:
147   small:
148     limits:
149       memory: 3Gi
150       cpu: 1
151     requests:
152       memory: 3Gi
153       cpu: 0.5
154   large:
155     limits:
156       memory: 6Gi
157       cpu: 2
158     requests:
159       memory: 6Gi
160       cpu: 1
161   unlimited: {}
162 livenessProbe:
163   path: /manage/health
164   scheme: HTTP
165   initialDelaySeconds: 600
166   periodSeconds: 60
167   timeoutSeconds: 10
168   successThreshold: 1
169   failureThreshold: 3
170 ingress:
171   enabled: false
172 serviceMesh:
173   authorizationPolicy:
174     authorizedPrincipals:
175       - serviceAccount: robot-read
176       - serviceAccount: so-admin-cockpit-read
177       - serviceAccount: so-oof-adapter-read
178       - serviceAccount: so-openstack-adapter-read
179       - serviceAccount: so-read
180       - serviceAccount: so-sdc-controller-read
181       - serviceAccount: so-sdnc-adapter-read
182 nodeSelector: {}
183 tolerations: []
184 affinity: {}
185
186 #Pods Service Account
187 serviceAccount:
188   nameOverride: so-bpmn-infra
189   roles:
190     - read
191
192 #Log configuration
193 log:
194   path: /var/log/onap
195 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'