Moving dev back to LF Gerrit
[it/dep.git] / ric-aux / 80-Auxiliary-Functions / helm / portal / charts / portal-app / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   env:
26     tomcatDir: "/opt/apache-tomcat-8.0.37"
27   # portal frontend port
28   portalPort: "8989"
29   portalFEPort: "30225"
30   # application's front end hostname.  Must be resolvable on the client side environment
31   portalHostName: "portal.api.simpledemo.onap.org"
32   cookieDomain: "onap.org"
33   keystoreFile: "keystoreONAPPortal.p12"
34   truststoreFile: "truststoreONAPall.jks"
35   keypass: ",@{9!OOv%HO@#c+0Z}axu!xV"
36   trustpass: "changeit"
37
38 #################################################################
39 # Application configuration defaults.
40 #################################################################
41 # application image
42 repository: nexus3.onap.org:10001
43 image: onap/portal-app:2.5.0
44 pullPolicy: Always
45
46 # default number of instances
47 replicaCount: 1
48
49 nodeSelector: {}
50
51 affinity: {}
52
53 # probe configuration parameters
54 liveness:
55   initialDelaySeconds: 10
56   periodSeconds: 10
57   # necessary to disable liveness probe when setting breakpoints
58   # in debugger so K8s doesn't restart unresponsive container
59   enabled: true
60
61 readiness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64
65 service:
66   type: LoadBalancer
67   name: portal-app
68   portName: portal-app
69   externalPort: 8989
70   internalPort: 8080
71   nodePort: 15
72   externalPort2: 8006
73   internalPort2: 8005
74   nodePort2: 13
75   externalPort3: 8010
76   internalPort3: 8009
77   nodePort3: 14
78   externalPort4: 8443
79   internalPort4: 8443
80   nodePort4: 25
81
82 mariadb:
83   service:
84     name: portal-db
85 widget:
86   service:
87     name: portal-widget
88 cassandra:
89   service:
90     name: portal-cassandra
91   config:
92     cassandraUsername: root
93     cassandraPassword: Aa123456
94 zookeeper:
95   service:
96     name: portal-zookeeper
97 messageRouter:
98   service:
99     name: message-router
100
101 ingress:
102   enabled: false
103
104 # Resource Limit flavor -By Default using small
105 flavor: small
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       cpu: 2
111       memory: 10Gi
112     requests:
113       cpu: 1
114       memory: 6Gi
115   large:
116     limits:
117       cpu: 4
118       memory: 15Gi
119     requests:
120       cpu: 2
121       memory: 8Gi
122   unlimited: {}