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