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