blob: 6e061fb30c470c03ac6a7aee5945a6da15f03b0c [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
35#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010036# Secrets metaconfig
37#################################################################
38secrets:
39 - uid: db-user-creds
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010042 login: '{{ .Values.db.userName }}'
43 password: '{{ .Values.db.userPassword }}'
44 passwordPolicy: required
45 - uid: db-admin-creds
46 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010047 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010048 login: '{{ .Values.db.adminName }}'
49 password: '{{ .Values.db.adminPassword }}'
50 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010051
52#secretsFilePaths: |
53# - 'my file 1'
54# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010055
56#################################################################
jmacc4f04d32018-10-12 18:24:24 +000057# Application configuration defaults.
58#################################################################
59repository: nexus3.onap.org:10001
seshukm4c285fc2020-10-16 15:45:14 +053060image: onap/so/vfc-adapter:1.7.9
jmacc4f04d32018-10-12 18:24:24 +000061pullPolicy: Always
62
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010063db:
64 userName: so_user
65 userPassword: so_User123
66 # userCredsExternalSecret: some secret
67 adminName: so_admin
68 adminPassword: so_Admin123
69 # adminCredsExternalSecret: some secret
70
seshukm0df1f8e2020-08-17 21:45:49 +053071mso:
72 adapters:
73 requestDb:
74 auth: Basic YnBlbDpwYXNzd29yZDEk
75
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000076replicaCount: 1
77minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053078containerPort: &containerPort 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000079logPath: ./logs/vfc/
80app: vfc-adapter
81service:
82 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053083 internalPort: *containerPort
84 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000085 portName: so-vfc-port
86updateStrategy:
87 type: RollingUpdate
88 maxUnavailable: 1
89 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053090
91
92#################################################################
93# soHelpers part
94#################################################################
95soHelpers:
96 nameOverride: so-vfc-cert-init
97 certInitializer:
98 nameOverride: so-vfc-cert-init
99 credsPath: /opt/app/osaaf/local
100 cadi:
101 apiEnforcement: org.onap.so.vfcAdapterPerm
102 containerPort: *containerPort
103
vaibhav16dec0da88292018-08-13 06:10:27 +0000104# Resource Limit flavor -By Default using small
105flavor: small
106# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000107resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000108 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000109 limits:
110 memory: 4Gi
111 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000112 requests:
113 memory: 1Gi
114 cpu: 500m
115 large:
116 limits:
117 memory: 8Gi
118 cpu: 4000m
119 requests:
120 memory: 2Gi
121 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000122 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000123livenessProbe:
124 path: /manage/health
125 port: 8084
126 scheme: HTTP
127 initialDelaySeconds: 600
128 periodSeconds: 60
129 timeoutSeconds: 10
130 successThreshold: 1
131 failureThreshold: 3
132ingress:
133 enabled: false
134nodeSelector: {}
135tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500136affinity: {}