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