blob: d0e1d20e75de2d294fc3b32e2cb4c53a90625d50 [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=
jmacc4f04d32018-10-12 18:24:24 +000031
32#################################################################
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010033# Secrets metaconfig
34#################################################################
35secrets:
36 - uid: db-user-creds
37 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010038 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010039 login: '{{ .Values.db.userName }}'
40 password: '{{ .Values.db.userPassword }}'
41 passwordPolicy: required
42 - uid: db-admin-creds
43 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010044 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010045 login: '{{ .Values.db.adminName }}'
46 password: '{{ .Values.db.adminPassword }}'
47 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010048
49#secretsFilePaths: |
50# - 'my file 1'
51# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010052
53#################################################################
jmacc4f04d32018-10-12 18:24:24 +000054# Application configuration defaults.
55#################################################################
56repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053057image: onap/so/vfc-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000058pullPolicy: Always
59
Krzysztof Opasiakfcfb5f02020-03-24 23:34:24 +010060db:
61 userName: so_user
62 userPassword: so_User123
63 # userCredsExternalSecret: some secret
64 adminName: so_admin
65 adminPassword: so_Admin123
66 # adminCredsExternalSecret: some secret
67
seshukm0df1f8e2020-08-17 21:45:49 +053068mso:
69 adapters:
70 requestDb:
71 auth: Basic YnBlbDpwYXNzd29yZDEk
72
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000073replicaCount: 1
74minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053075containerPort: &containerPort 8084
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000076logPath: ./logs/vfc/
77app: vfc-adapter
78service:
79 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053080 internalPort: *containerPort
81 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000082 portName: so-vfc-port
83updateStrategy:
84 type: RollingUpdate
85 maxUnavailable: 1
86 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053087
88
89#################################################################
90# soHelpers part
91#################################################################
92soHelpers:
93 nameOverride: so-vfc-cert-init
94 certInitializer:
95 nameOverride: so-vfc-cert-init
96 credsPath: /opt/app/osaaf/local
97 cadi:
98 apiEnforcement: org.onap.so.vfcAdapterPerm
99 containerPort: *containerPort
100
vaibhav16dec0da88292018-08-13 06:10:27 +0000101# Resource Limit flavor -By Default using small
102flavor: small
103# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000104resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000105 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000106 limits:
107 memory: 4Gi
108 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000109 requests:
110 memory: 1Gi
111 cpu: 500m
112 large:
113 limits:
114 memory: 8Gi
115 cpu: 4000m
116 requests:
117 memory: 2Gi
118 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000119 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120livenessProbe:
121 path: /manage/health
122 port: 8084
123 scheme: HTTP
124 initialDelaySeconds: 600
125 periodSeconds: 60
126 timeoutSeconds: 10
127 successThreshold: 1
128 failureThreshold: 3
129ingress:
130 enabled: false
131nodeSelector: {}
132tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500133affinity: {}