blob: 4fe092e603a6a4a2c0798ec83ac506ab15e43d92 [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
21 readinessRepository: oomk8s
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010022 readinessImage: readiness-check:2.0.2
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010025 mariadbGalera: &mariadbGalera
26 #This flag allows SO to instantiate its own mariadb-galera cluster
27 localCluster: false
28 service: mariadb-galera
29 internalPort: 3306
30 nameOverride: mariadb-galera
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010031 aafAgentImage: onap/aaf/aaf_agent:2.1.15
32 aafEnabled: true
33 busyBoxImage: busybox:1.30
34 busyBoxRepository: docker.io
35
36#################################################################
37# AAF part
38#################################################################
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020039certInitializer:
40 nameOverride: nbi-cert-initializer
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010041 aafDeployFqi: deployer@people.osaaf.org
42 aafDeployPass: demo123456!
43 # aafDeployCredsExternalSecret: some secret
44 fqdn: nbi
45 fqi: nbi@nbi.onap.org
46 public_fqdn: nbi.onap.org
47 cadi_longitude: "0.0"
48 cadi_latitude: "0.0"
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010049 app_ns: org.osaaf.aaf
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020050 credsPath: /opt/app/osaaf/local
51 aaf_add_config: >
52 /opt/app/aaf_config/bin/agent.sh;
53 /opt/app/aaf_config/bin/agent.sh local showpass
54 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
55
56aafConfig:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010057 permission_user: 1000
58 permission_group: 999
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020059
Krzysztof Opasiake383b322020-02-07 15:49:54 +010060#################################################################
61# Secrets metaconfig
62#################################################################
63secrets:
64 - uid: nbi-db-secret
65 name: '{{ include "common.release" . }}-nbi-db-secret'
66 type: basicAuth
67 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
68 login: '{{ .Values.config.db.userName }}'
69 password: '{{ .Values.config.db.userPassword }}'
70
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020071subChartsOnly:
72 enabled: true
73
74# application image
75repository: nexus3.onap.org:10001
aosull012b09a732020-04-16 09:32:43 +010076image: onap/externalapi/nbi:6.0.3
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010077pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020078sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
79aai_authorization: Basic QUFJOkFBSQ==
80so_authorization:
81
82# application configuration
83config:
84 loglevel: INFO
85 logstashServiceName: log-ls
86 logstashPort: 5044
87 cloudOwner: CloudOwner
88 ecompInstanceId: OOM
89 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020090 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010091 db:
92 userName: rene
93 # userPassword: password
94 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020095
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010096mariadb-galera:
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010097 # '&mariadbConfig' means we "store" the values for later use in the file
98 # with '*mariadbConfig' pointer.
99 config: &mariadbConfig
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +0100100 userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +0100101 mysqlDatabase: nbi
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100102 nameOverride: nbi-galera
103 service:
104 name: nbi-galera
105 portName: nbi-galera
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100106 internalPort: 3306
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100107 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200108 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200109 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100110 mountSubPath: nbi/maria/data
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200111
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100112mariadb-init:
113 config: *mariadbConfig
114 nameOverride: nbi-config
115
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200116mongo:
117 nameOverride: nbi-mongo
118 config:
119 dbName: ServiceOrderDB
120 service:
121 name: nbi-mongohost
122 internalPort: 27017
123 nfsprovisionerPrefix: nbi
124 sdnctlPrefix: nbi
125 persistence:
126 mountSubPath: nbi/mongo/data
127 enabled: true
128 disableNfsProvisioner: true
129
130
131# default number of instances
132replicaCount: 1
133
134nodeSelector: {}
135
136affinity: {}
137
138# probe configuration parameters
139liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100140 path: /nbi/api/v4/status
141 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200142 initialDelaySeconds: 180
143 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200144 # necessary to disable liveness probe when setting breakpoints
145 # in debugger so K8s doesn't restart unresponsive container
146 enabled: true
147
148readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100149 path: /nbi/api/v4/status
150 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200151 initialDelaySeconds: 185
152 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200153
154service:
155 type: NodePort
156 portName: api
157 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000158 nodePort: 74
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100159 internalPort: 8443
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200160
161ingress:
162 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000163 service:
164 - baseaddr: "nbi.api"
165 name: "nbi"
166 port: 8443
167 config:
168 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000169# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000170flavor: small
171# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000172resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000173 small:
174 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000175 cpu: 1
176 memory: 2Gi
177 requests:
178 cpu: 100m
179 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000180 large:
181 limits:
182 cpu: 2
183 memory: 4Gi
184 requests:
185 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000186 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200187 unlimited: {}