[CONSUL] Add limits to consul chart.
[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
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 repository: nexus3.onap.org:10001
63 image: onap/so/bpmn-infra:1.6.4
64 pullPolicy: Always
65
66 db:
67   userName: so_user
68   userPassword: so_User123
69   # userCredsExternalSecret: some secret
70   adminName: so_admin
71   adminPassword: so_Admin123
72   # adminCredsExternalSecret: some secret
73
74 aai:
75   auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885
76
77 cds:
78   auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
79
80 mso:
81   key: 07a7159d3bf51a0e53be7a8f89699be7
82   adapters:
83     requestDb:
84       auth: Basic YnBlbDpwYXNzd29yZDEk
85     db:
86       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
87       password: wLg4sjrAFUS8rfVfdvTXeQ==
88     po:
89       auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF
90   sdnc:
91     password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F
92   sniro:
93     auth: test:testpwd
94   oof:
95     auth: test:testpwd
96 so:
97   vnfm:
98     adapter:
99       auth: Basic dm5mbTpwYXNzd29yZDEk
100 sniro:
101   endpoint: http://replaceme:28090/optimizationInstance/V1/create
102
103 vnf:
104   api:
105     version: v2
106
107 replicaCount: 1
108 minReadySeconds: 10
109 containerPort: &containerPort 8081
110 logPath: ./logs/bpmn/
111 app: so-bpmn-infra
112 service:
113   type: ClusterIP
114   internalPort: *containerPort
115   externalPort: 8081
116   portName: so-bpmn-port
117 updateStrategy:
118   type: RollingUpdate
119   maxUnavailable: 1
120   maxSurge: 1
121
122 #################################################################
123 # soHelper part
124 #################################################################
125 soHelpers:
126   nameOverride: so-bpmn-cert-init
127   certInitializer:
128     nameOverride: so-bpmn-cert-init
129     credsPath: /opt/app/osaaf/local
130   cadi:
131     apiEnforcement: org.onap.so.bpmnPerm
132   containerPort: *containerPort
133
134 # Resource Limit flavor -By Default using small
135 flavor: large
136 # Segregation for Different environment (Small and Large)
137 resources:
138   small:
139     limits:
140       memory: 4Gi
141       cpu: 2000m
142     requests:
143       memory: 1Gi
144       cpu: 500m
145   large:
146     limits:
147       memory: 8Gi
148       cpu: 4000m
149     requests:
150       memory: 2Gi
151       cpu: 1000m
152   unlimited: {}
153 livenessProbe:
154   path: /manage/health
155   scheme: HTTP
156   initialDelaySeconds: 600
157   periodSeconds: 60
158   timeoutSeconds: 10
159   successThreshold: 1
160   failureThreshold: 3
161 ingress:
162   enabled: false
163 nodeSelector: {}
164 tolerations: []
165 affinity: {}