blob: e2b7341b7c1836e8fb9dd6f2905a9a128878eef7 [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
Andreas Geissler638330d2023-03-20 15:24:36 +010027 msbEnabled: false
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020028
Krzysztof Opasiake383b322020-02-07 15:49:54 +010029#################################################################
30# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: nbi-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010034 name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +010035 type: basicAuth
36 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
37 login: '{{ .Values.config.db.userName }}'
38 password: '{{ .Values.config.db.userPassword }}'
39
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020040subChartsOnly:
41 enabled: true
42
43# application image
44repository: nexus3.onap.org:10001
Eric Debeauc45c81f2022-05-10 12:05:12 +020045image: onap/externalapi/nbi:10.0.0
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010046pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020047sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
48aai_authorization: Basic QUFJOkFBSQ==
49so_authorization:
50
51# application configuration
52config:
53 loglevel: INFO
54 logstashServiceName: log-ls
55 logstashPort: 5044
56 cloudOwner: CloudOwner
aleemraja40149d82020-10-16 17:48:17 +053057 k8sCloudRegionId: k8sregionfour
58 k8sCloudOwner: k8scloudowner4
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020059 ecompInstanceId: OOM
60 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020061 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010062 db:
63 userName: rene
64 # userPassword: password
65 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020066
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010067mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010068 db:
69 externalSecret: *dbUserSecretName
70 name: &mysqlDbName nbi
andreasgeisslerb15b0952021-06-10 16:21:09 +020071 service:
72 name: nbi-galera
73 portName: nbi-galera
74 internalPort: 3306
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010075 nameOverride: &nbi-galera nbi-galera
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010076 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020077 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020078 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010079 mountSubPath: nbi/maria/data
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010080 serviceAccount:
81 nameOverride: *nbi-galera
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020082
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010083mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010084 config:
85 userCredentialsExternalSecret: *dbUserSecretName
86 mysqlDatabase: *mysqlDbName
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010087 nameOverride: nbi-config
88
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020089mongo:
90 nameOverride: nbi-mongo
91 config:
92 dbName: ServiceOrderDB
93 service:
94 name: nbi-mongohost
95 internalPort: 27017
96 nfsprovisionerPrefix: nbi
97 sdnctlPrefix: nbi
98 persistence:
99 mountSubPath: nbi/mongo/data
100 enabled: true
101 disableNfsProvisioner: true
102
103
104# default number of instances
105replicaCount: 1
106
107nodeSelector: {}
108
109affinity: {}
110
111# probe configuration parameters
112liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100113 path: /nbi/api/v4/status
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200114 initialDelaySeconds: 180
115 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200116 # necessary to disable liveness probe when setting breakpoints
117 # in debugger so K8s doesn't restart unresponsive container
118 enabled: true
119
120readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100121 path: /nbi/api/v4/status
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200122 initialDelaySeconds: 185
123 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200124
125service:
126 type: NodePort
127 portName: api
128 name: nbi
Andreas Geissler638330d2023-03-20 15:24:36 +0100129 internalPort: 8080
Andreas Geisslerb19c8512022-10-13 13:15:29 +0200130 ports:
131 - name: http
Andreas Geissler638330d2023-03-20 15:24:36 +0100132 port: 8080
Andreas Geisslerb19c8512022-10-13 13:15:29 +0200133 nodePort: '74'
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200134
135ingress:
136 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000137 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200138 - baseaddr: "nbi-api"
Lucjan Bryndza05649652020-04-29 08:52:33 +0000139 name: "nbi"
Andreas Geissler638330d2023-03-20 15:24:36 +0100140 port: 8080
Lucjan Bryndza05649652020-04-29 08:52:33 +0000141 config:
142 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000143# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000144flavor: small
145# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000146resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000147 small:
148 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000149 cpu: 1
150 memory: 2Gi
151 requests:
152 cpu: 100m
153 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000154 large:
155 limits:
156 cpu: 2
157 memory: 4Gi
158 requests:
159 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000160 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200161 unlimited: {}
farida azmy37c98762021-10-18 13:06:52 +0200162
163#Pods Service Account
164serviceAccount:
165 nameOverride: nbi
166 roles:
167 - read