Merge "Update MOD component versions"
[oom.git] / kubernetes / so / charts / so-bpmn-infra / values.yaml
1 # Copyright © 2018 AT&T USA
2 #
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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   persistence:
24     mountPath: /dockerdata-nfs
25
26 #################################################################
27 # Secrets metaconfig
28 #################################################################
29 secrets:
30   - uid: db-user-creds
31     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
32     type: basicAuth
33     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
34     login: '{{ .Values.db.userName }}'
35     password: '{{ .Values.db.userPassword }}'
36     passwordPolicy: required
37   - uid: db-admin-creds
38     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
39     type: basicAuth
40     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
41     login: '{{ .Values.db.adminName }}'
42     password: '{{ .Values.db.adminPassword }}'
43     passwordPolicy: required
44   - uid: "so-onap-certs"
45     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
46     type: generic
47     filePaths: '{{ .Values.secretsFilePaths }}'
48
49 #secretsFilePaths: |
50 #  - 'my file 1'
51 #  - '{{ include "templateThatGeneratesFileName" . }}'
52
53 #################################################################
54 # Application configuration defaults.
55 #################################################################
56 repository: nexus3.onap.org:10001
57 image: onap/so/bpmn-infra:1.6.0
58 pullPolicy: Always
59
60 db:
61   userName: so_user
62   userPassword: so_User123
63   # userCredsExternalSecret: some secret
64   adminName: so_admin
65   adminPassword: so_Admin123
66   # adminCredsExternalSecret: some secret
67 replicaCount: 1
68 minReadySeconds: 10
69 containerPort: 8081
70 logPath: ./logs/bpmn/
71 app: so-bpmn-infra
72 service:
73     type: ClusterIP
74     internalPort: 8081
75     externalPort: 8081
76     portName: so-bpmn-port
77 updateStrategy:
78     type: RollingUpdate
79     maxUnavailable: 1
80     maxSurge: 1
81 # Resource Limit flavor -By Default using small
82 flavor: large
83 # Segregation for Different environment (Small and Large)
84 resources:
85   small:
86     limits:
87       memory: 4Gi
88       cpu: 2000m
89     requests:
90       memory: 1Gi
91       cpu: 500m
92   large:
93     limits:
94       memory: 8Gi
95       cpu: 4000m
96     requests:
97       memory: 2Gi
98       cpu: 1000m
99   unlimited: {}
100 livenessProbe:
101     path: /manage/health
102     scheme: HTTP
103     initialDelaySeconds: 600
104     periodSeconds: 60
105     timeoutSeconds: 10
106     successThreshold: 1
107     failureThreshold: 3
108 ingress:
109   enabled: false
110 nodeSelector: {}
111 tolerations: []
112 affinity: {}