[EXTAPI] Update image version
[oom.git] / kubernetes / nbi / values.yaml
1 # Copyright © 2018 Orange
2 # Modifications Copyright © 2018  Amdocs, Bell Canada
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   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
27   aafEnabled: true
28
29 #################################################################
30 # AAF part
31 #################################################################
32 certInitializer:
33   nameOverride: nbi-cert-initializer
34   aafDeployFqi: deployer@people.osaaf.org
35   aafDeployPass: demo123456!
36   # aafDeployCredsExternalSecret: some secret
37   fqdn: nbi
38   fqi: nbi@nbi.onap.org
39   public_fqdn: nbi.onap.org
40   cadi_longitude: "0.0"
41   cadi_latitude: "0.0"
42   app_ns: org.osaaf.aaf
43   credsPath: /opt/app/osaaf/local
44   aaf_add_config: >
45     echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
46     echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
47
48 aafConfig:
49   permission_user: 1000
50   permission_group: 999
51
52 #################################################################
53 # Secrets metaconfig
54 #################################################################
55 secrets:
56   - uid: nbi-db-secret
57     name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret'
58     type: basicAuth
59     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
60     login: '{{ .Values.config.db.userName }}'
61     password: '{{ .Values.config.db.userPassword }}'
62
63 subChartsOnly:
64   enabled: true
65
66 # application image
67 repository: nexus3.onap.org:10001
68 image: onap/externalapi/nbi:10.0.0
69 pullPolicy: IfNotPresent
70 sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
71 aai_authorization: Basic QUFJOkFBSQ==
72 so_authorization:
73
74 # application configuration
75 config:
76   loglevel: INFO
77   logstashServiceName: log-ls
78   logstashPort: 5044
79   cloudOwner: CloudOwner
80   k8sCloudRegionId: k8sregionfour
81   k8sCloudOwner: k8scloudowner4
82   ecompInstanceId: OOM
83   openStackRegion: RegionOne
84   openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
85   db:
86     userName: rene
87     # userPassword: password
88     # userCredentialsExternalSecret: some-secret
89
90 mariadb-galera:
91   db:
92     externalSecret: *dbUserSecretName
93     name: &mysqlDbName nbi
94   service:
95     name: nbi-galera
96     portName: nbi-galera
97     internalPort: 3306
98   nameOverride: &nbi-galera nbi-galera
99   replicaCount: 1
100   persistence:
101     enabled: true
102     mountSubPath: nbi/maria/data
103   serviceAccount:
104     nameOverride: *nbi-galera
105
106 mariadb-init:
107   config:
108     userCredentialsExternalSecret: *dbUserSecretName
109     mysqlDatabase: *mysqlDbName
110   nameOverride: nbi-config
111
112 mongo:
113   nameOverride: nbi-mongo
114   config:
115     dbName: ServiceOrderDB
116   service:
117     name: nbi-mongohost
118     internalPort: 27017
119   nfsprovisionerPrefix: nbi
120   sdnctlPrefix: nbi
121   persistence:
122     mountSubPath: nbi/mongo/data
123     enabled: true
124   disableNfsProvisioner: true
125
126
127 # default number of instances
128 replicaCount: 1
129
130 nodeSelector: {}
131
132 affinity: {}
133
134 # probe configuration parameters
135 liveness:
136   path: /nbi/api/v4/status
137   port: 8443
138   initialDelaySeconds: 180
139   periodSeconds: 30
140   # necessary to disable liveness probe when setting breakpoints
141   # in debugger so K8s doesn't restart unresponsive container
142   enabled: true
143
144 readiness:
145   path: /nbi/api/v4/status
146   port: 8443
147   initialDelaySeconds: 185
148   periodSeconds: 30
149
150 service:
151   type: NodePort
152   portName: api
153   name: nbi
154   nodePort: 74
155   internalPort: 8443
156
157 ingress:
158   enabled: false
159   service:
160     - baseaddr: "nbi.api"
161       name: "nbi"
162       port: 8443
163   config:
164     ssl: "redirect"
165 # Resource Limit flavor -By Default using small
166 flavor: small
167 # Segregation for Different environment (Small and Large)
168 resources:
169   small:
170     limits:
171       cpu: 1
172       memory: 2Gi
173     requests:
174       cpu: 100m
175       memory: 1Gi
176   large:
177     limits:
178       cpu: 2
179       memory: 4Gi
180     requests:
181       cpu: 200m
182       memory: 2Gi
183   unlimited: {}
184
185 #Pods Service Account
186 serviceAccount:
187   nameOverride: nbi
188   roles:
189     - read