[NBI] Fix image name
[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     /opt/app/aaf_config/bin/agent.sh;
46     /opt/app/aaf_config/bin/agent.sh local showpass
47     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
48
49 aafConfig:
50   permission_user: 1000
51   permission_group: 999
52
53 #################################################################
54 # Secrets metaconfig
55 #################################################################
56 secrets:
57   - uid: nbi-db-secret
58     name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret'
59     type: basicAuth
60     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
61     login: '{{ .Values.config.db.userName }}'
62     password: '{{ .Values.config.db.userPassword }}'
63
64 subChartsOnly:
65   enabled: true
66
67 # application image
68 repository: nexus3.onap.org:10001
69 image: onap/externalapi/nbi:8.0.0
70 pullPolicy: IfNotPresent
71 sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
72 aai_authorization: Basic QUFJOkFBSQ==
73 so_authorization:
74
75 # application configuration
76 config:
77   loglevel: INFO
78   logstashServiceName: log-ls
79   logstashPort: 5044
80   cloudOwner: CloudOwner
81   k8sCloudRegionId: k8sregionfour
82   k8sCloudOwner: k8scloudowner4
83   ecompInstanceId: OOM
84   openStackRegion: RegionOne
85   openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
86   db:
87     userName: rene
88     # userPassword: password
89     # userCredentialsExternalSecret: some-secret
90
91 mariadb-galera:
92   db:
93     externalSecret: *dbUserSecretName
94     name: &mysqlDbName nbi
95   nameOverride: &nbi-galera nbi-galera
96   replicaCount: 1
97   persistence:
98     enabled: true
99     mountSubPath: nbi/maria/data
100   serviceAccount:
101     nameOverride: *nbi-galera
102
103 mariadb-init:
104   config:
105     userCredentialsExternalSecret: *dbUserSecretName
106     mysqlDatabase: *mysqlDbName
107   nameOverride: nbi-config
108
109 mongo:
110   nameOverride: nbi-mongo
111   config:
112     dbName: ServiceOrderDB
113   service:
114     name: nbi-mongohost
115     internalPort: 27017
116   nfsprovisionerPrefix: nbi
117   sdnctlPrefix: nbi
118   persistence:
119     mountSubPath: nbi/mongo/data
120     enabled: true
121   disableNfsProvisioner: true
122
123
124 # default number of instances
125 replicaCount: 1
126
127 nodeSelector: {}
128
129 affinity: {}
130
131 # probe configuration parameters
132 liveness:
133   path: /nbi/api/v4/status
134   port: 8443
135   initialDelaySeconds: 180
136   periodSeconds: 30
137   # necessary to disable liveness probe when setting breakpoints
138   # in debugger so K8s doesn't restart unresponsive container
139   enabled: true
140
141 readiness:
142   path: /nbi/api/v4/status
143   port: 8443
144   initialDelaySeconds: 185
145   periodSeconds: 30
146
147 service:
148   type: NodePort
149   portName: api
150   name: nbi
151   nodePort: 74
152   internalPort: 8443
153
154 ingress:
155   enabled: false
156   service:
157     - baseaddr: "nbi.api"
158       name: "nbi"
159       port: 8443
160   config:
161     ssl: "redirect"
162 # Resource Limit flavor -By Default using small
163 flavor: small
164 # Segregation for Different environment (Small and Large)
165 resources:
166   small:
167     limits:
168       cpu: 1
169       memory: 2Gi
170     requests:
171       cpu: 100m
172       memory: 1Gi
173   large:
174     limits:
175       cpu: 2
176       memory: 4Gi
177     requests:
178       cpu: 200m
179       memory: 2Gi
180   unlimited: {}