bump the SO release version 1.6.1
[oom.git] / kubernetes / so / charts / so-nssmf-adapter / values.yaml
1 # 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 #################################################################
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   - uid: server-bpel-creds
49     name: '{{ include "common.release" . }}-so-server-bpel-creds'
50     type: basicAuth
51     externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
52     login: '{{ .Values.server.bpel.username }}'
53     password: '{{ .Values.server.bpel.password }}'
54     passwordPolicy: required
55   - uid: server-actuator-creds
56     name: '{{ include "common.release" . }}-so-server-actuator-creds'
57     type: basicAuth
58     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
59     login: '{{ .Values.server.actuator.username }}'
60     password: '{{ .Values.server.actuator.password }}'
61     passwordPolicy: required
62
63
64 #secretsFilePaths: |
65 #  - 'my file 1'
66 #  - '{{ include "templateThatGeneratesFileName" . }}'
67
68 #################################################################
69 # Application configuration defaults.
70 #################################################################
71 repository: nexus3.onap.org:10001
72 image: onap/so/nssmf-adapter:1.6.1
73 pullPolicy: Always
74
75 db:
76   userName: so_user
77   userPassword: so_User123
78   # userCredsExternalSecret: some secret
79   adminName: so_admin
80   adminPassword: so_Admin123
81   # adminCredsExternalSecret: some secret
82 server:
83   actuator:
84     username: mso_admin
85     password: password1$
86   bpel:
87     username: bpel
88     password: password1$
89
90 replicaCount: 1
91 minReadySeconds: 10
92 containerPort: 8088
93 logPath: ./logs/nssmf/
94 app: nssmf-adapter
95 service:
96   type: ClusterIP
97   ports:
98     - name: api
99       port: 8088
100 updateStrategy:
101     type: RollingUpdate
102     maxUnavailable: 1
103     maxSurge: 1
104 # Resource Limit flavor -By Default using small
105 flavor: small
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       memory: 4Gi
111       cpu: 2000m
112     requests:
113       memory: 1Gi
114       cpu: 500m
115   large:
116     limits:
117       memory: 8Gi
118       cpu: 4000m
119     requests:
120       memory: 2Gi
121       cpu: 1000m
122   unlimited: {}
123 livenessProbe:
124     path: /manage/health
125     port: 8088
126     scheme: HTTP
127     initialDelaySeconds: 600
128     periodSeconds: 60
129     timeoutSeconds: 10
130     successThreshold: 1
131     failureThreshold: 3
132 ingress:
133   enabled: false
134 nodeSelector: {}
135 tolerations: []
136 affinity: {}