c53741a3a3cf1ce4133c6899c325df9820b3d4f0
[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     serviceName: mariadb-galera
27     servicePort: '3306'
28
29 readinessCheck:
30   wait_for:
31     jobs:
32       - '{{ include "common.release" . }}-so-mariadb-config-job'
33
34 #################################################################
35 # Secrets metaconfig
36 #################################################################
37 secrets:
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
52
53 #secretsFilePaths: |
54 #  - 'my file 1'
55 #  - '{{ include "templateThatGeneratesFileName" . }}'
56
57 #################################################################
58 # Application configuration defaults.
59 #################################################################
60 image: onap/so/bpmn-infra:1.11.0
61 pullPolicy: Always
62
63 bpmn:
64   historyTTL: 14
65
66 camunda:
67   sundayCleanupWindowStartTime: "04:00"
68   sundayCleanupWindowEndTime: "10:00"
69
70 db:
71   userName: so_user
72   userPassword: so_User123
73   # userCredsExternalSecret: some secret
74   adminName: so_admin
75   adminPassword: so_Admin123
76   # adminCredsExternalSecret: some secret
77
78 aai:
79   auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
80
81 cds:
82   auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
83
84 mso:
85   key: 07a7159d3bf51a0e53be7a8f89699be7
86   adapters:
87     requestDb:
88       auth: Basic YnBlbDpwYXNzd29yZDEk
89     db:
90       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
91       password: wLg4sjrAFUS8rfVfdvTXeQ==
92     po:
93       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
94   sdnc:
95     password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
96   sniro:
97     auth: test:testpwd
98   oof:
99     auth: test:testpwd
100 so:
101   sol003:
102     adapter:
103       auth: Basic dm5mbTpwYXNzd29yZDEk
104 sniro:
105   endpoint: http://replaceme:28090/optimizationInstance/V1/create
106
107 vnf:
108   api:
109     version: v2
110
111 replicaCount: 1
112 minReadySeconds: 10
113 containerPort: &containerPort 8081
114 logPath: ./logs/bpmn/
115 app: so-bpmn-infra
116 service:
117   type: ClusterIP
118   ports:
119   - port: *containerPort
120     name: http
121 updateStrategy:
122   type: RollingUpdate
123   maxUnavailable: 1
124   maxSurge: 1
125
126 #################################################################
127 # soHelpers part
128 #################################################################
129 soHelpers:
130   containerPort: *containerPort
131
132 # Resource Limit flavor -By Default using small
133 flavor: large
134 # Segregation for Different environment (Small and Large)
135 resources:
136   small:
137     limits:
138       memory: 4Gi
139       cpu: 2000m
140     requests:
141       memory: 1Gi
142       cpu: 500m
143   large:
144     limits:
145       memory: 8Gi
146       cpu: 4000m
147     requests:
148       memory: 2Gi
149       cpu: 1000m
150   unlimited: {}
151 livenessProbe:
152   path: /manage/health
153   scheme: HTTP
154   initialDelaySeconds: 600
155   periodSeconds: 60
156   timeoutSeconds: 10
157   successThreshold: 1
158   failureThreshold: 3
159 ingress:
160   enabled: false
161 serviceMesh:
162   authorizationPolicy:
163     authorizedPrincipals:
164       - serviceAccount: robot-read
165       - serviceAccount: so-admin-cockpit-read
166       - serviceAccount: so-oof-adapter-read
167       - serviceAccount: so-openstack-adapter-read
168       - serviceAccount: so-read
169       - serviceAccount: so-sdc-controller-read
170       - serviceAccount: so-sdnc-adapter-read
171 nodeSelector: {}
172 tolerations: []
173 affinity: {}
174
175 #Pods Service Account
176 serviceAccount:
177   nameOverride: so-bpmn-infra
178   roles:
179     - read
180
181 #Log configuration
182 log:
183   path: /var/log/onap
184 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'