blob: 1fc1600374c5ff97a619251c3f4dc2f01ca89669 [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 Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010024 mariadbGalera: &mariadbGalera
25 #This flag allows SO to instantiate its own mariadb-galera cluster
26 localCluster: false
27 service: mariadb-galera
28 internalPort: 3306
29 nameOverride: mariadb-galera
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010030 aafEnabled: true
31 busyBoxImage: busybox:1.30
32 busyBoxRepository: docker.io
33
34#################################################################
35# AAF part
36#################################################################
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020037certInitializer:
38 nameOverride: nbi-cert-initializer
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010039 aafDeployFqi: deployer@people.osaaf.org
40 aafDeployPass: demo123456!
41 # aafDeployCredsExternalSecret: some secret
42 fqdn: nbi
43 fqi: nbi@nbi.onap.org
44 public_fqdn: nbi.onap.org
45 cadi_longitude: "0.0"
46 cadi_latitude: "0.0"
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010047 app_ns: org.osaaf.aaf
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020048 credsPath: /opt/app/osaaf/local
49 aaf_add_config: >
50 /opt/app/aaf_config/bin/agent.sh;
51 /opt/app/aaf_config/bin/agent.sh local showpass
52 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
53
54aafConfig:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010055 permission_user: 1000
56 permission_group: 999
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020057
Krzysztof Opasiake383b322020-02-07 15:49:54 +010058#################################################################
59# Secrets metaconfig
60#################################################################
61secrets:
62 - uid: nbi-db-secret
63 name: '{{ include "common.release" . }}-nbi-db-secret'
64 type: basicAuth
65 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
66 login: '{{ .Values.config.db.userName }}'
67 password: '{{ .Values.config.db.userPassword }}'
68
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020069subChartsOnly:
70 enabled: true
71
72# application image
73repository: nexus3.onap.org:10001
aosull01bca09fa2020-07-27 17:05:03 +010074image: onap/externalapi/nbi:7.0.0
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010075pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020076sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
77aai_authorization: Basic QUFJOkFBSQ==
78so_authorization:
79
80# application configuration
81config:
82 loglevel: INFO
83 logstashServiceName: log-ls
84 logstashPort: 5044
85 cloudOwner: CloudOwner
86 ecompInstanceId: OOM
87 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020088 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010089 db:
90 userName: rene
91 # userPassword: password
92 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020093
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010094mariadb-galera:
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010095 # '&mariadbConfig' means we "store" the values for later use in the file
96 # with '*mariadbConfig' pointer.
97 config: &mariadbConfig
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010098 userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +010099 mysqlDatabase: nbi
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100100 nameOverride: nbi-galera
101 service:
102 name: nbi-galera
103 portName: nbi-galera
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100104 internalPort: 3306
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100105 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200106 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200107 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100108 mountSubPath: nbi/maria/data
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200109
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100110mariadb-init:
111 config: *mariadbConfig
112 nameOverride: nbi-config
113
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200114mongo:
115 nameOverride: nbi-mongo
116 config:
117 dbName: ServiceOrderDB
118 service:
119 name: nbi-mongohost
120 internalPort: 27017
121 nfsprovisionerPrefix: nbi
122 sdnctlPrefix: nbi
123 persistence:
124 mountSubPath: nbi/mongo/data
125 enabled: true
126 disableNfsProvisioner: true
127
128
129# default number of instances
130replicaCount: 1
131
132nodeSelector: {}
133
134affinity: {}
135
136# probe configuration parameters
137liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100138 path: /nbi/api/v4/status
139 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200140 initialDelaySeconds: 180
141 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200142 # necessary to disable liveness probe when setting breakpoints
143 # in debugger so K8s doesn't restart unresponsive container
144 enabled: true
145
146readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100147 path: /nbi/api/v4/status
148 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200149 initialDelaySeconds: 185
150 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200151
152service:
153 type: NodePort
154 portName: api
155 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000156 nodePort: 74
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100157 internalPort: 8443
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200158
159ingress:
160 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000161 service:
162 - baseaddr: "nbi.api"
163 name: "nbi"
164 port: 8443
165 config:
166 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000167# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000168flavor: small
169# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000170resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000171 small:
172 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000173 cpu: 1
174 memory: 2Gi
175 requests:
176 cpu: 100m
177 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000178 large:
179 limits:
180 cpu: 2
181 memory: 4Gi
182 requests:
183 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000184 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200185 unlimited: {}