blob: c907b4e1d04de4c166be25bc251ebc3869e589ed [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# 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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
25
26#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-user-creds
31 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010032 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010033 login: '{{ .Values.db.userName }}'
34 password: '{{ .Values.db.userPassword }}'
35 passwordPolicy: required
36 - uid: db-admin-creds
37 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010038 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010039 login: '{{ .Values.db.adminName }}'
40 password: '{{ .Values.db.adminPassword }}'
41 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010042 - uid: "so-onap-certs"
43 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
44 type: generic
45 filePaths: '{{ .Values.secretsFilePaths }}'
46
47#secretsFilePaths: |
48# - 'my file 1'
49# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010050
51#################################################################
jmacc4f04d32018-10-12 18:24:24 +000052# Application configuration defaults.
53#################################################################
54repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053055image: onap/so/vfc-adapter:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000056pullPolicy: Always
57
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010058db:
59 userName: so_user
60 userPassword: so_User123
61 # userCredsExternalSecret: some secret
62 adminName: so_admin
63 adminPassword: so_Admin123
64 # adminCredsExternalSecret: some secret
65
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000066replicaCount: 1
67minReadySeconds: 10
68containerPort: 8084
69logPath: ./logs/vfc/
70app: vfc-adapter
71service:
72 type: ClusterIP
73 internalPort: 8084
Brian Freeman1a667932018-09-06 14:45:37 -050074 externalPort: 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000075 portName: so-vfc-port
76updateStrategy:
77 type: RollingUpdate
78 maxUnavailable: 1
79 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000080# Resource Limit flavor -By Default using small
81flavor: small
82# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000084 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000085 limits:
86 memory: 4Gi
87 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000088 requests:
89 memory: 1Gi
90 cpu: 500m
91 large:
92 limits:
93 memory: 8Gi
94 cpu: 4000m
95 requests:
96 memory: 2Gi
97 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000098 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000099livenessProbe:
100 path: /manage/health
101 port: 8084
102 scheme: HTTP
103 initialDelaySeconds: 600
104 periodSeconds: 60
105 timeoutSeconds: 10
106 successThreshold: 1
107 failureThreshold: 3
108ingress:
109 enabled: false
110nodeSelector: {}
111tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500112affinity: {}