blob: a3dc897718b9ea413826a94f8a8f60154afa8c77 [file] [log] [blame]
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02001# Copyright © 2018 Orange
Prateekinlinux445a18e2018-08-01 06:48:33 +00002# Modifications Copyright © 2018 Amdocs, Bell Canada
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010021 mariadbGalera: &mariadbGalera
22 #This flag allows SO to instantiate its own mariadb-galera cluster
23 localCluster: false
24 service: mariadb-galera
25 internalPort: 3306
26 nameOverride: mariadb-galera
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010027 aafEnabled: true
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010028
29#################################################################
30# AAF part
31#################################################################
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020032certInitializer:
33 nameOverride: nbi-cert-initializer
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010034 aafDeployFqi: deployer@people.osaaf.org
35 aafDeployPass: demo123456!
36 # aafDeployCredsExternalSecret: some secret
37 fqdn: nbi
38 fqi: nbi@nbi.onap.org
39 public_fqdn: nbi.onap.org
40 cadi_longitude: "0.0"
41 cadi_latitude: "0.0"
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010042 app_ns: org.osaaf.aaf
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020043 credsPath: /opt/app/osaaf/local
44 aaf_add_config: >
Sylvain Desbureauxb28e76c2021-02-23 16:21:19 +010045 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
46 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020047
48aafConfig:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010049 permission_user: 1000
50 permission_group: 999
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020051
Krzysztof Opasiake383b322020-02-07 15:49:54 +010052#################################################################
53# Secrets metaconfig
54#################################################################
55secrets:
56 - uid: nbi-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010057 name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +010058 type: basicAuth
59 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
60 login: '{{ .Values.config.db.userName }}'
61 password: '{{ .Values.config.db.userPassword }}'
62
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020063subChartsOnly:
64 enabled: true
65
66# application image
67repository: nexus3.onap.org:10001
aosull016202fd22021-02-23 17:59:34 +000068image: onap/externalapi/nbi:8.0.1
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010069pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020070sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
71aai_authorization: Basic QUFJOkFBSQ==
72so_authorization:
73
74# application configuration
75config:
76 loglevel: INFO
77 logstashServiceName: log-ls
78 logstashPort: 5044
79 cloudOwner: CloudOwner
aleemraja40149d82020-10-16 17:48:17 +053080 k8sCloudRegionId: k8sregionfour
81 k8sCloudOwner: k8scloudowner4
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020082 ecompInstanceId: OOM
83 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020084 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010085 db:
86 userName: rene
87 # userPassword: password
88 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020089
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010090mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010091 db:
92 externalSecret: *dbUserSecretName
93 name: &mysqlDbName nbi
andreasgeisslerb15b0952021-06-10 16:21:09 +020094 service:
95 name: nbi-galera
96 portName: nbi-galera
97 internalPort: 3306
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010098 nameOverride: &nbi-galera nbi-galera
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010099 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200100 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200101 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100102 mountSubPath: nbi/maria/data
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100103 serviceAccount:
104 nameOverride: *nbi-galera
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200105
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100106mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100107 config:
108 userCredentialsExternalSecret: *dbUserSecretName
109 mysqlDatabase: *mysqlDbName
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100110 nameOverride: nbi-config
111
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200112mongo:
113 nameOverride: nbi-mongo
114 config:
115 dbName: ServiceOrderDB
116 service:
117 name: nbi-mongohost
118 internalPort: 27017
119 nfsprovisionerPrefix: nbi
120 sdnctlPrefix: nbi
121 persistence:
122 mountSubPath: nbi/mongo/data
123 enabled: true
124 disableNfsProvisioner: true
125
126
127# default number of instances
128replicaCount: 1
129
130nodeSelector: {}
131
132affinity: {}
133
134# probe configuration parameters
135liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100136 path: /nbi/api/v4/status
137 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200138 initialDelaySeconds: 180
139 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200140 # necessary to disable liveness probe when setting breakpoints
141 # in debugger so K8s doesn't restart unresponsive container
142 enabled: true
143
144readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100145 path: /nbi/api/v4/status
146 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200147 initialDelaySeconds: 185
148 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200149
150service:
151 type: NodePort
152 portName: api
153 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000154 nodePort: 74
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100155 internalPort: 8443
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200156
157ingress:
158 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000159 service:
160 - baseaddr: "nbi.api"
161 name: "nbi"
162 port: 8443
163 config:
164 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000165# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000166flavor: small
167# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000168resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000169 small:
170 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000171 cpu: 1
172 memory: 2Gi
173 requests:
174 cpu: 100m
175 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000176 large:
177 limits:
178 cpu: 2
179 memory: 4Gi
180 requests:
181 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000182 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200183 unlimited: {}