blob: 82334bec37ee71afcc374cef551c1352881f83bf [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 aafEnabled: true
32 busyBoxImage: busybox:1.30
33 busyBoxRepository: docker.io
34
35#################################################################
36# AAF part
37#################################################################
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020038certInitializer:
39 nameOverride: nbi-cert-initializer
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010040 aafDeployFqi: deployer@people.osaaf.org
41 aafDeployPass: demo123456!
42 # aafDeployCredsExternalSecret: some secret
43 fqdn: nbi
44 fqi: nbi@nbi.onap.org
45 public_fqdn: nbi.onap.org
46 cadi_longitude: "0.0"
47 cadi_latitude: "0.0"
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010048 app_ns: org.osaaf.aaf
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020049 credsPath: /opt/app/osaaf/local
50 aaf_add_config: >
51 /opt/app/aaf_config/bin/agent.sh;
52 /opt/app/aaf_config/bin/agent.sh local showpass
53 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
54
55aafConfig:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010056 permission_user: 1000
57 permission_group: 999
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020058
Krzysztof Opasiake383b322020-02-07 15:49:54 +010059#################################################################
60# Secrets metaconfig
61#################################################################
62secrets:
63 - uid: nbi-db-secret
64 name: '{{ include "common.release" . }}-nbi-db-secret'
65 type: basicAuth
66 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
67 login: '{{ .Values.config.db.userName }}'
68 password: '{{ .Values.config.db.userPassword }}'
69
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020070subChartsOnly:
71 enabled: true
72
73# application image
74repository: nexus3.onap.org:10001
aosull012b09a732020-04-16 09:32:43 +010075image: onap/externalapi/nbi:6.0.3
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010076pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020077sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
78aai_authorization: Basic QUFJOkFBSQ==
79so_authorization:
80
81# application configuration
82config:
83 loglevel: INFO
84 logstashServiceName: log-ls
85 logstashPort: 5044
86 cloudOwner: CloudOwner
87 ecompInstanceId: OOM
88 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020089 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010090 db:
91 userName: rene
92 # userPassword: password
93 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020094
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010095mariadb-galera:
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010096 # '&mariadbConfig' means we "store" the values for later use in the file
97 # with '*mariadbConfig' pointer.
98 config: &mariadbConfig
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010099 userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +0100100 mysqlDatabase: nbi
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100101 nameOverride: nbi-galera
102 service:
103 name: nbi-galera
104 portName: nbi-galera
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100105 internalPort: 3306
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100106 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200107 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200108 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100109 mountSubPath: nbi/maria/data
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200110
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100111mariadb-init:
112 config: *mariadbConfig
113 nameOverride: nbi-config
114
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200115mongo:
116 nameOverride: nbi-mongo
117 config:
118 dbName: ServiceOrderDB
119 service:
120 name: nbi-mongohost
121 internalPort: 27017
122 nfsprovisionerPrefix: nbi
123 sdnctlPrefix: nbi
124 persistence:
125 mountSubPath: nbi/mongo/data
126 enabled: true
127 disableNfsProvisioner: true
128
129
130# default number of instances
131replicaCount: 1
132
133nodeSelector: {}
134
135affinity: {}
136
137# probe configuration parameters
138liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100139 path: /nbi/api/v4/status
140 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200141 initialDelaySeconds: 180
142 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200143 # necessary to disable liveness probe when setting breakpoints
144 # in debugger so K8s doesn't restart unresponsive container
145 enabled: true
146
147readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100148 path: /nbi/api/v4/status
149 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200150 initialDelaySeconds: 185
151 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200152
153service:
154 type: NodePort
155 portName: api
156 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000157 nodePort: 74
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100158 internalPort: 8443
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200159
160ingress:
161 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000162 service:
163 - baseaddr: "nbi.api"
164 name: "nbi"
165 port: 8443
166 config:
167 ssl: "redirect"
Mandeep Khindade045712018-09-19 18:11:57 +0000168# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000169flavor: small
170# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000171resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000172 small:
173 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000174 cpu: 1
175 memory: 2Gi
176 requests:
177 cpu: 100m
178 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000179 large:
180 limits:
181 cpu: 2
182 memory: 4Gi
183 requests:
184 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000185 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200186 unlimited: {}