[DCAEMOD] Uses new tpls for repos / images
[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   repository: nexus3.onap.org:10001
21   readinessImage: onap/oom/readiness:3.0.1
22   aafAgentImage: onap/aaf/aaf_agent:2.1.20
23   envsubstImage: dibi/envsubst
24   persistence:
25     mountPath: /dockerdata-nfs
26   #This configuration specifies Service and port for SDNC OAM interface
27   sdncOamService: sdnc-oam
28   sdncOamPort: 8282
29   security:
30     aaf:
31       enabled: false
32   aaf:
33     auth:
34       encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
35   mariadbGalera:
36     serviceName: mariadb-galera
37     servicePort: '3306'
38
39 readinessCheck:
40   wait_for:
41     - so-mariadb-config
42
43 #################################################################
44 # Secrets metaconfig
45 #################################################################
46 secrets:
47   - uid: db-user-creds
48     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
49     type: basicAuth
50     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
51     login: '{{ .Values.db.userName }}'
52     password: '{{ .Values.db.userPassword }}'
53     passwordPolicy: required
54   - uid: db-admin-creds
55     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
56     type: basicAuth
57     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
58     login: '{{ .Values.db.adminName }}'
59     password: '{{ .Values.db.adminPassword }}'
60     passwordPolicy: required
61
62 #secretsFilePaths: |
63 #  - 'my file 1'
64 #  - '{{ include "templateThatGeneratesFileName" . }}'
65
66 #################################################################
67 # Application configuration defaults.
68 #################################################################
69 repository: nexus3.onap.org:10001
70 image: onap/so/bpmn-infra:1.7.10
71 pullPolicy: Always
72
73 db:
74   userName: so_user
75   userPassword: so_User123
76   # userCredsExternalSecret: some secret
77   adminName: so_admin
78   adminPassword: so_Admin123
79   # adminCredsExternalSecret: some secret
80
81 aai:
82   auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
83
84 cds:
85   auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
86
87 mso:
88   key: 07a7159d3bf51a0e53be7a8f89699be7
89   adapters:
90     requestDb:
91       auth: Basic YnBlbDpwYXNzd29yZDEk
92     db:
93       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
94       password: wLg4sjrAFUS8rfVfdvTXeQ==
95     po:
96       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
97   sdnc:
98     password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
99   sniro:
100     auth: test:testpwd
101   oof:
102     auth: test:testpwd
103 so:
104   vnfm:
105     adapter:
106       auth: Basic dm5mbTpwYXNzd29yZDEk
107 sniro:
108   endpoint: http://replaceme:28090/optimizationInstance/V1/create
109
110 vnf:
111   api:
112     version: v2
113
114 replicaCount: 1
115 minReadySeconds: 10
116 containerPort: &containerPort 8081
117 logPath: ./logs/bpmn/
118 app: so-bpmn-infra
119 service:
120   type: ClusterIP
121   internalPort: *containerPort
122   externalPort: 8081
123   portName: so-bpmn-port
124 updateStrategy:
125   type: RollingUpdate
126   maxUnavailable: 1
127   maxSurge: 1
128
129 #################################################################
130 # soHelper part
131 #################################################################
132 soHelpers:
133   nameOverride: so-bpmn-cert-init
134   certInitializer:
135     nameOverride: so-bpmn-cert-init
136     credsPath: /opt/app/osaaf/local
137   cadi:
138     apiEnforcement: org.onap.so.bpmnPerm
139   containerPort: *containerPort
140
141 # Resource Limit flavor -By Default using small
142 flavor: large
143 # Segregation for Different environment (Small and Large)
144 resources:
145   small:
146     limits:
147       memory: 4Gi
148       cpu: 2000m
149     requests:
150       memory: 1Gi
151       cpu: 500m
152   large:
153     limits:
154       memory: 8Gi
155       cpu: 4000m
156     requests:
157       memory: 2Gi
158       cpu: 1000m
159   unlimited: {}
160 livenessProbe:
161   path: /manage/health
162   scheme: HTTP
163   initialDelaySeconds: 600
164   periodSeconds: 60
165   timeoutSeconds: 10
166   successThreshold: 1
167   failureThreshold: 3
168 ingress:
169   enabled: false
170 nodeSelector: {}
171 tolerations: []
172 affinity: {}