blob: f442860ab39007376d0f27915ed04aa3cff7ab93 [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
42
43#################################################################
jmacc4f04d32018-10-12 18:24:24 +000044# Application configuration defaults.
45#################################################################
46repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053047image: onap/so/vfc-adapter:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000048pullPolicy: Always
49
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010050db:
51 userName: so_user
52 userPassword: so_User123
53 # userCredsExternalSecret: some secret
54 adminName: so_admin
55 adminPassword: so_Admin123
56 # adminCredsExternalSecret: some secret
57
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000058replicaCount: 1
59minReadySeconds: 10
60containerPort: 8084
61logPath: ./logs/vfc/
62app: vfc-adapter
63service:
64 type: ClusterIP
65 internalPort: 8084
Brian Freeman1a667932018-09-06 14:45:37 -050066 externalPort: 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000067 portName: so-vfc-port
68updateStrategy:
69 type: RollingUpdate
70 maxUnavailable: 1
71 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000072# Resource Limit flavor -By Default using small
73flavor: small
74# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000075resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000076 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000077 limits:
78 memory: 4Gi
79 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000080 requests:
81 memory: 1Gi
82 cpu: 500m
83 large:
84 limits:
85 memory: 8Gi
86 cpu: 4000m
87 requests:
88 memory: 2Gi
89 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000090 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091livenessProbe:
92 path: /manage/health
93 port: 8084
94 scheme: HTTP
95 initialDelaySeconds: 600
96 periodSeconds: 60
97 timeoutSeconds: 10
98 successThreshold: 1
99 failureThreshold: 3
100ingress:
101 enabled: false
102nodeSelector: {}
103tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500104affinity: {}