Merge "Add APPC to cert table"
[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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   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
31   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 #################################################################
39 aafConfig:
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
55
56 #################################################################
57 # Secrets metaconfig
58 #################################################################
59 secrets:
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 }}'
66   - 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
72
73 subChartsOnly:
74   enabled: true
75
76 # application image
77 repository: nexus3.onap.org:10001
78 image: onap/externalapi/nbi:6.0.2
79 pullPolicy: IfNotPresent
80 sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
81 aai_authorization: Basic QUFJOkFBSQ==
82 so_authorization:
83
84 # application configuration
85 config:
86   loglevel: INFO
87   logstashServiceName: log-ls
88   logstashPort: 5044
89   cloudOwner: CloudOwner
90   ecompInstanceId: OOM
91   openStackRegion: RegionOne
92   openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
93   db:
94     userName: rene
95     # userPassword: password
96     # userCredentialsExternalSecret: some-secret
97
98 mariadb-galera:
99   # '&mariadbConfig' means we "store" the values for  later use in the file
100   # with '*mariadbConfig' pointer.
101   config: &mariadbConfig
102     userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret'
103     mysqlDatabase: nbi
104   nameOverride: nbi-galera
105   service:
106     name: nbi-galera
107     portName: nbi-galera
108     internalPort: 3306
109   replicaCount: 1
110   persistence:
111     enabled: true
112     mountSubPath: nbi/maria/data
113
114 mariadb-init:
115   config: *mariadbConfig
116   nameOverride: nbi-config
117
118 mongo:
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
134 replicaCount: 1
135
136 nodeSelector: {}
137
138 affinity: {}
139
140 # probe configuration parameters
141 liveness:
142   path: /nbi/api/v4/status
143   port: 8443
144   initialDelaySeconds: 180
145   periodSeconds: 30
146   # necessary to disable liveness probe when setting breakpoints
147   # in debugger so K8s doesn't restart unresponsive container
148   enabled: true
149
150 readiness:
151   path: /nbi/api/v4/status
152   port: 8443
153   initialDelaySeconds: 185
154   periodSeconds: 30
155
156 service:
157   type: NodePort
158   portName: api
159   name: nbi
160   nodePort: 74
161   internalPort: 8443
162
163 ingress:
164   enabled: false
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: {}