blob: dc323675adf51660f6398c73deb3050e16203868 [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
Andreas Geisslerb19c8512022-10-13 13:15:29 +020028 msbEnabled: true
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010029
30#################################################################
31# AAF part
32#################################################################
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020033certInitializer:
34 nameOverride: nbi-cert-initializer
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010035 aafDeployFqi: deployer@people.osaaf.org
36 aafDeployPass: demo123456!
37 # aafDeployCredsExternalSecret: some secret
38 fqdn: nbi
39 fqi: nbi@nbi.onap.org
40 public_fqdn: nbi.onap.org
41 cadi_longitude: "0.0"
42 cadi_latitude: "0.0"
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010043 app_ns: org.osaaf.aaf
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020044 credsPath: /opt/app/osaaf/local
45 aaf_add_config: >
Sylvain Desbureauxb28e76c2021-02-23 16:21:19 +010046 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
47 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020048
49aafConfig:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010050 permission_user: 1000
51 permission_group: 999
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020052
Krzysztof Opasiake383b322020-02-07 15:49:54 +010053#################################################################
54# Secrets metaconfig
55#################################################################
56secrets:
57 - uid: nbi-db-secret
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010058 name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +010059 type: basicAuth
60 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
61 login: '{{ .Values.config.db.userName }}'
62 password: '{{ .Values.config.db.userPassword }}'
63
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020064subChartsOnly:
65 enabled: true
66
67# application image
68repository: nexus3.onap.org:10001
Eric Debeauc45c81f2022-05-10 12:05:12 +020069image: onap/externalapi/nbi:10.0.0
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010070pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020071sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
72aai_authorization: Basic QUFJOkFBSQ==
73so_authorization:
74
75# application configuration
76config:
77 loglevel: INFO
78 logstashServiceName: log-ls
79 logstashPort: 5044
80 cloudOwner: CloudOwner
aleemraja40149d82020-10-16 17:48:17 +053081 k8sCloudRegionId: k8sregionfour
82 k8sCloudOwner: k8scloudowner4
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020083 ecompInstanceId: OOM
84 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020085 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010086 db:
87 userName: rene
88 # userPassword: password
89 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020090
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010091mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010092 db:
93 externalSecret: *dbUserSecretName
94 name: &mysqlDbName nbi
andreasgeisslerb15b0952021-06-10 16:21:09 +020095 service:
96 name: nbi-galera
97 portName: nbi-galera
98 internalPort: 3306
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010099 nameOverride: &nbi-galera nbi-galera
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100100 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200101 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200102 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100103 mountSubPath: nbi/maria/data
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100104 serviceAccount:
105 nameOverride: *nbi-galera
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200106
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100107mariadb-init:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100108 config:
109 userCredentialsExternalSecret: *dbUserSecretName
110 mysqlDatabase: *mysqlDbName
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100111 nameOverride: nbi-config
112
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200113mongo:
114 nameOverride: nbi-mongo
115 config:
116 dbName: ServiceOrderDB
117 service:
118 name: nbi-mongohost
119 internalPort: 27017
120 nfsprovisionerPrefix: nbi
121 sdnctlPrefix: nbi
122 persistence:
123 mountSubPath: nbi/mongo/data
124 enabled: true
125 disableNfsProvisioner: true
126
127
128# default number of instances
129replicaCount: 1
130
131nodeSelector: {}
132
133affinity: {}
134
135# probe configuration parameters
136liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100137 path: /nbi/api/v4/status
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
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200146 initialDelaySeconds: 185
147 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200148
149service:
150 type: NodePort
151 portName: api
152 name: nbi
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100153 internalPort: 8443
Andreas Geisslerb19c8512022-10-13 13:15:29 +0200154 internalPlainPort: 8080
155 ports:
156 - name: http
157 port: 8443
158 plain_port: 8080
159 nodePort: '74'
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200160
161ingress:
162 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000163 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200164 - baseaddr: "nbi-api"
Lucjan Bryndza05649652020-04-29 08:52:33 +0000165 name: "nbi"
166 port: 8443
Andreas Geisslerb19c8512022-10-13 13:15:29 +0200167 plain_port: 8080
Lucjan Bryndza05649652020-04-29 08:52:33 +0000168 config:
169 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000170# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000171flavor: small
172# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000173resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000174 small:
175 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000176 cpu: 1
177 memory: 2Gi
178 requests:
179 cpu: 100m
180 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000181 large:
182 limits:
183 cpu: 2
184 memory: 4Gi
185 requests:
186 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000187 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200188 unlimited: {}
farida azmy37c98762021-10-18 13:06:52 +0200189
190#Pods Service Account
191serviceAccount:
192 nameOverride: nbi
193 roles:
194 - read