blob: d8f3db6e83ea8f70ec47dbf2a548c0e86657c029 [file] [log] [blame]
jananib28734e02020-04-08 21:35:45 +05301# Copyright © 2020 Huawei Technologies Co., Ltd.
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#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jananib28734e02020-04-08 21:35:45 +053022 persistence:
23 mountPath: /dockerdata-nfs
24
25#################################################################
26# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: db-user-creds
30 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
31 type: basicAuth
32 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
33 login: '{{ .Values.db.userName }}'
34 password: '{{ .Values.db.userPassword }}'
35 passwordPolicy: required
36 - uid: db-admin-creds
37 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
38 type: basicAuth
39 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
40 login: '{{ .Values.db.adminName }}'
41 password: '{{ .Values.db.adminPassword }}'
42 passwordPolicy: required
43 - uid: "so-onap-certs"
44 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
45 type: generic
46 filePaths: '{{ .Values.secretsFilePaths }}'
47 - uid: server-bpel-creds
48 name: '{{ include "common.release" . }}-so-server-bpel-creds'
49 type: basicAuth
50 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
51 login: '{{ .Values.server.bpel.username }}'
52 password: '{{ .Values.server.bpel.password }}'
53 passwordPolicy: required
54 - uid: server-actuator-creds
55 name: '{{ include "common.release" . }}-so-server-actuator-creds'
56 type: basicAuth
57 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
58 login: '{{ .Values.server.actuator.username }}'
59 password: '{{ .Values.server.actuator.password }}'
60 passwordPolicy: required
61
62
63#secretsFilePaths: |
64# - 'my file 1'
65# - '{{ include "templateThatGeneratesFileName" . }}'
66
67#################################################################
68# Application configuration defaults.
69#################################################################
70repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053071image: onap/so/nssmf-adapter:1.6.4
jananib28734e02020-04-08 21:35:45 +053072pullPolicy: Always
73
74db:
75 userName: so_user
76 userPassword: so_User123
77 # userCredsExternalSecret: some secret
78 adminName: so_admin
79 adminPassword: so_Admin123
80 # adminCredsExternalSecret: some secret
81server:
82 actuator:
83 username: mso_admin
84 password: password1$
85 bpel:
86 username: bpel
87 password: password1$
88
89replicaCount: 1
90minReadySeconds: 10
91containerPort: 8088
92logPath: ./logs/nssmf/
93app: nssmf-adapter
94service:
95 type: ClusterIP
96 ports:
97 - name: api
98 port: 8088
99updateStrategy:
100 type: RollingUpdate
101 maxUnavailable: 1
102 maxSurge: 1
103# Resource Limit flavor -By Default using small
104flavor: small
105# Segregation for Different environment (Small and Large)
106resources:
107 small:
108 limits:
109 memory: 4Gi
110 cpu: 2000m
111 requests:
112 memory: 1Gi
113 cpu: 500m
114 large:
115 limits:
116 memory: 8Gi
117 cpu: 4000m
118 requests:
119 memory: 2Gi
120 cpu: 1000m
121 unlimited: {}
122livenessProbe:
123 path: /manage/health
124 port: 8088
125 scheme: HTTP
126 initialDelaySeconds: 600
127 periodSeconds: 60
128 timeoutSeconds: 10
129 successThreshold: 1
130 failureThreshold: 3
131ingress:
132 enabled: false
133nodeSelector: {}
134tolerations: []
135affinity: {}