blob: dcf9573bc7fc33cf646e9e7f7f14d7e83d477912 [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#################################################################
39aafConfig:
40 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"
48 credsPath: /opt/app/osaaf/local
49 app_ns: org.osaaf.aaf
50 permission_user: 1000
51 permission_group: 999
52 addconfig: true
53 secret_uid: &aaf_secret_uid nbi-aaf-deploy-creds
54
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020055
Krzysztof Opasiake383b322020-02-07 15:49:54 +010056#################################################################
57# Secrets metaconfig
58#################################################################
59secrets:
60 - uid: nbi-db-secret
61 name: '{{ include "common.release" . }}-nbi-db-secret'
62 type: basicAuth
63 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
64 login: '{{ .Values.config.db.userName }}'
65 password: '{{ .Values.config.db.userPassword }}'
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010066 - uid: *aaf_secret_uid
67 type: basicAuth
68 externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}'
69 login: '{{ .Values.aafConfig.aafDeployFqi }}'
70 password: '{{ .Values.aafConfig.aafDeployPass }}'
71 passwordPolicy: required
Krzysztof Opasiake383b322020-02-07 15:49:54 +010072
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020073subChartsOnly:
74 enabled: true
75
76# application image
77repository: nexus3.onap.org:10001
aosull0125de8362020-04-09 11:05:30 +010078image: onap/externalapi/nbi:6.0.2
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010079pullPolicy: IfNotPresent
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020080sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
81aai_authorization: Basic QUFJOkFBSQ==
82so_authorization:
83
84# application configuration
85config:
86 loglevel: INFO
87 logstashServiceName: log-ls
88 logstashPort: 5044
89 cloudOwner: CloudOwner
90 ecompInstanceId: OOM
91 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020092 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Krzysztof Opasiake383b322020-02-07 15:49:54 +010093 db:
94 userName: rene
95 # userPassword: password
96 # userCredentialsExternalSecret: some-secret
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020097
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +010098mariadb-galera:
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010099 # '&mariadbConfig' means we "store" the values for later use in the file
100 # with '*mariadbConfig' pointer.
101 config: &mariadbConfig
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +0100102 userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret'
Krzysztof Opasiake383b322020-02-07 15:49:54 +0100103 mysqlDatabase: nbi
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100104 nameOverride: nbi-galera
105 service:
106 name: nbi-galera
107 portName: nbi-galera
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100108 internalPort: 3306
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100109 replicaCount: 1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200110 persistence:
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200111 enabled: true
Sylvain Desbureaux9e851c62019-10-28 15:52:05 +0100112 mountSubPath: nbi/maria/data
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200113
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +0100114mariadb-init:
115 config: *mariadbConfig
116 nameOverride: nbi-config
117
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200118mongo:
119 nameOverride: nbi-mongo
120 config:
121 dbName: ServiceOrderDB
122 service:
123 name: nbi-mongohost
124 internalPort: 27017
125 nfsprovisionerPrefix: nbi
126 sdnctlPrefix: nbi
127 persistence:
128 mountSubPath: nbi/mongo/data
129 enabled: true
130 disableNfsProvisioner: true
131
132
133# default number of instances
134replicaCount: 1
135
136nodeSelector: {}
137
138affinity: {}
139
140# probe configuration parameters
141liveness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100142 path: /nbi/api/v4/status
143 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200144 initialDelaySeconds: 180
145 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200146 # necessary to disable liveness probe when setting breakpoints
147 # in debugger so K8s doesn't restart unresponsive container
148 enabled: true
149
150readiness:
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100151 path: /nbi/api/v4/status
152 port: 8443
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200153 initialDelaySeconds: 185
154 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200155
156service:
157 type: NodePort
158 portName: api
159 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000160 nodePort: 74
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +0100161 internalPort: 8443
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200162
163ingress:
164 enabled: false
Mandeep Khindade045712018-09-19 18:11:57 +0000165# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000166flavor: small
167# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000168resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000169 small:
170 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000171 cpu: 1
172 memory: 2Gi
173 requests:
174 cpu: 100m
175 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000176 large:
177 limits:
178 cpu: 2
179 memory: 4Gi
180 requests:
181 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000182 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200183 unlimited: {}