1974f2c25f81cf4ece3f80e056430ddc4f7713d1
[oom.git] / kubernetes / nbi / values.yaml
1 # Copyright © 2018 Orange
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:1.1.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 subChartsOnly:
26   enabled: true
27
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/externalapi/nbi:2.0.0
31 pullPolicy: Always
32 sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
33 aai_authorization: Basic QUFJOkFBSQ==
34 so_authorization:
35
36 # application configuration
37 config:
38   loglevel: INFO
39   logstashServiceName: log-ls
40   logstashPort: 5044
41   cloudOwner: CloudOwner
42   ecompInstanceId: OOM
43   openStackRegion: RegionOne
44   openStackServiceTenantName: 31047205ce114b60833b23e400d6a535
45
46 mariadb:
47   nameOverride: nbi-mariadb
48   service:
49     name: nbi-mariadbhost
50     internalPort: 3306
51   config:
52     db:
53       database: nbi
54       user: rene
55       password: lkjgklqsdareyhjujlnnbvfvdttuiukgpiokqbfsjdhfigquosegombvjfqhb
56       root_password: dhqjdshjdsguryebvcnbvcvdsqghyjqgktgjjfhjfghbfs
57   persistence:
58     mountSubPath: nbi/maria/data
59     enabled: true
60   disableNfsProvisioner: true
61
62 mongo:
63   nameOverride: nbi-mongo
64   config:
65     dbName: ServiceOrderDB
66   service:
67     name: nbi-mongohost
68     internalPort: 27017
69   nfsprovisionerPrefix: nbi
70   sdnctlPrefix: nbi
71   persistence:
72     mountSubPath: nbi/mongo/data
73     enabled: true
74   disableNfsProvisioner: true
75
76
77 # default number of instances
78 replicaCount: 1
79
80 nodeSelector: {}
81
82 affinity: {}
83
84 # probe configuration parameters
85 liveness:
86   initialDelaySeconds: 10
87   periodSeconds: 10
88   # necessary to disable liveness probe when setting breakpoints
89   # in debugger so K8s doesn't restart unresponsive container
90   enabled: true
91
92 readiness:
93   initialDelaySeconds: 10
94   periodSeconds: 10
95
96 service:
97   type: NodePort
98   portName: api
99   name: nbi
100   nodePort: 74
101   internalPort: 8080
102
103 ingress:
104   enabled: false
105
106 resources: {}
107   # We usually recommend not to specify default resources and to leave this as a conscious
108   # choice for the user. This also increases chances charts run on environments with little
109   # resources, such as Minikube. If you do want to specify resources, uncomment the following
110   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
111   #
112   # Example:
113   # Configure resource requests and limits
114   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
115   # Minimum memory for development is 2 CPU cores and 4GB memory
116   # Minimum memory for production is 4 CPU cores and 8GB memory
117 #resources:
118 #  limits:
119 #    cpu: 2
120 #    memory: 4Gi
121 #  requests:
122 #    cpu: 2
123 #    memory: 4Gi