blob: f88e117faedb922b126042b53b4e551cb98924ec [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00003# 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
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053025 security:
26 aaf:
27 enabled: false
28 aaf:
29 auth:
30 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053031 mariadbGalera:
32 serviceName: mariadb-galera
33 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000034
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010035readinessCheck:
36 wait_for:
37 - so-mariadb-config
38
jmacc4f04d32018-10-12 18:24:24 +000039#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010040# Secrets metaconfig
41#################################################################
42secrets:
43 - uid: db-user-creds
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010046 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010051 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010052 login: '{{ .Values.db.adminName }}'
53 password: '{{ .Values.db.adminPassword }}'
54 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010055
56#secretsFilePaths: |
57# - 'my file 1'
58# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010059
60#################################################################
jmacc4f04d32018-10-12 18:24:24 +000061# Application configuration defaults.
62#################################################################
63repository: nexus3.onap.org:10001
Kalkere Ramesh, Sharandf29b1e2020-11-13 15:51:37 -050064image: onap/so/vfc-adapter:1.7.10
jmacc4f04d32018-10-12 18:24:24 +000065pullPolicy: Always
66
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010067db:
68 userName: so_user
69 userPassword: so_User123
70 # userCredsExternalSecret: some secret
71 adminName: so_admin
72 adminPassword: so_Admin123
73 # adminCredsExternalSecret: some secret
74
seshukm0df1f8e2020-08-17 21:45:49 +053075mso:
76 adapters:
77 requestDb:
78 auth: Basic YnBlbDpwYXNzd29yZDEk
79
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000080replicaCount: 1
81minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053082containerPort: &containerPort 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083logPath: ./logs/vfc/
84app: vfc-adapter
85service:
86 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053087 internalPort: *containerPort
88 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000089 portName: so-vfc-port
90updateStrategy:
91 type: RollingUpdate
92 maxUnavailable: 1
93 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053094
95
96#################################################################
97# soHelpers part
98#################################################################
99soHelpers:
100 nameOverride: so-vfc-cert-init
101 certInitializer:
102 nameOverride: so-vfc-cert-init
103 credsPath: /opt/app/osaaf/local
104 cadi:
105 apiEnforcement: org.onap.so.vfcAdapterPerm
106 containerPort: *containerPort
107
vaibhav16dec0da88292018-08-13 06:10:27 +0000108# Resource Limit flavor -By Default using small
109flavor: small
110# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000111resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000112 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000113 limits:
114 memory: 4Gi
115 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 requests:
117 memory: 1Gi
118 cpu: 500m
119 large:
120 limits:
121 memory: 8Gi
122 cpu: 4000m
123 requests:
124 memory: 2Gi
125 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000126 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000127livenessProbe:
128 path: /manage/health
129 port: 8084
130 scheme: HTTP
131 initialDelaySeconds: 600
132 periodSeconds: 60
133 timeoutSeconds: 10
134 successThreshold: 1
135 failureThreshold: 3
136ingress:
137 enabled: false
138nodeSelector: {}
139tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500140affinity: {}