[GENERAL] Use readiness container v3.0.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   readinessImage: onap/oom/readiness:3.0.1
22   persistence:
23     mountPath: /dockerdata-nfs
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
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 #################################################################
70 repository: nexus3.onap.org:10001
71 image: onap/so/nssmf-adapter:1.6.4
72 pullPolicy: Always
73
74 db:
75   userName: so_user
76   userPassword: so_User123
77   # userCredsExternalSecret: some secret
78   adminName: so_admin
79   adminPassword: so_Admin123
80   # adminCredsExternalSecret: some secret
81 server:
82   actuator:
83     username: mso_admin
84     password: password1$
85   bpel:
86     username: bpel
87     password: password1$
88
89 replicaCount: 1
90 minReadySeconds: 10
91 containerPort: 8088
92 logPath: ./logs/nssmf/
93 app: nssmf-adapter
94 service:
95   type: ClusterIP
96   ports:
97     - name: api
98       port: 8088
99 updateStrategy:
100     type: RollingUpdate
101     maxUnavailable: 1
102     maxSurge: 1
103 # Resource Limit flavor -By Default using small
104 flavor: small
105 # Segregation for Different environment (Small and Large)
106 resources:
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: {}
122 livenessProbe:
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
131 ingress:
132   enabled: false
133 nodeSelector: {}
134 tolerations: []
135 affinity: {}