[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
48
49 #################################################################
50 # Application configuration defaults.
51 #################################################################
52 repository: nexus3.onap.org:10001
53 image: onap/so/bpmn-infra:1.5.3
54 pullPolicy: Always
55
56 db:
57   userName: so_user
58   userPassword: so_User123
59   # userCredsExternalSecret: some secret
60   adminName: so_admin
61   adminPassword: so_Admin123
62   # adminCredsExternalSecret: some secret
63 replicaCount: 1
64 minReadySeconds: 10
65 containerPort: 8081
66 logPath: ./logs/bpmn/
67 app: so-bpmn-infra
68 service:
69     type: ClusterIP
70     internalPort: 8081
71     externalPort: 8081
72     portName: so-bpmn-port
73 updateStrategy:
74     type: RollingUpdate
75     maxUnavailable: 1
76     maxSurge: 1
77 # Resource Limit flavor -By Default using small
78 flavor: large
79 # Segregation for Different environment (Small and Large)
80 resources:
81   small:
82     limits:
83       memory: 4Gi
84       cpu: 2000m
85     requests:
86       memory: 1Gi
87       cpu: 500m
88   large:
89     limits:
90       memory: 8Gi
91       cpu: 4000m
92     requests:
93       memory: 2Gi
94       cpu: 1000m
95   unlimited: {}
96 livenessProbe:
97     path: /manage/health
98     scheme: HTTP
99     initialDelaySeconds: 600
100     periodSeconds: 60
101     timeoutSeconds: 10
102     successThreshold: 1
103     failureThreshold: 3
104 ingress:
105   enabled: false
106 nodeSelector: {}
107 tolerations: []
108 affinity: {}