blob: 8eb991430ce394fa861cafc056a926606268918b [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jmacc4f04d32018-10-12 18:24:24 +000022 persistence:
23 mountPath: /dockerdata-nfs
24
25#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: db-user-creds
30 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010031 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010032 login: '{{ .Values.db.userName }}'
33 password: '{{ .Values.db.userPassword }}'
34 passwordPolicy: required
35 - uid: db-admin-creds
36 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010037 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010038 login: '{{ .Values.db.adminName }}'
39 password: '{{ .Values.db.adminPassword }}'
40 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010041 - 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" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010049
50#################################################################
jmacc4f04d32018-10-12 18:24:24 +000051# Application configuration defaults.
52#################################################################
53repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053054image: onap/so/vfc-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000055pullPolicy: Always
56
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010057db:
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
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000065replicaCount: 1
66minReadySeconds: 10
67containerPort: 8084
68logPath: ./logs/vfc/
69app: vfc-adapter
70service:
71 type: ClusterIP
72 internalPort: 8084
Brian Freeman1a667932018-09-06 14:45:37 -050073 externalPort: 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000074 portName: so-vfc-port
75updateStrategy:
76 type: RollingUpdate
77 maxUnavailable: 1
78 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000079# Resource Limit flavor -By Default using small
80flavor: small
81# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000082resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000083 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084 limits:
85 memory: 4Gi
86 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000087 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
Mandeep Khinda60d36d42018-09-24 15:15:48 +000097 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000098livenessProbe:
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
107ingress:
108 enabled: false
109nodeSelector: {}
110tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500111affinity: {}