3b94df2c7da5aae9761d6b2ec891c23c0a52204c
[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   keystoreFile: "keystoreONAPPortal.p12"
33   truststoreFile: "truststoreONAPall.jks"
34   keypass: ",@{9!OOv%HO@#c+0Z}axu!xV"
35   trustpass: "changeit"
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application image
41 repository: nexus3.onap.org:10001
42 image: onap/portal-app:2.5.0
43 pullPolicy: Always
44
45 # default number of instances
46 replicaCount: 1
47
48 nodeSelector: {}
49
50 affinity: {}
51
52 # probe configuration parameters
53 liveness:
54   initialDelaySeconds: 10
55   periodSeconds: 10
56   # necessary to disable liveness probe when setting breakpoints
57   # in debugger so K8s doesn't restart unresponsive container
58   enabled: true
59
60 readiness:
61   initialDelaySeconds: 10
62   periodSeconds: 10
63
64 service:
65   type: LoadBalancer
66   name: portal-app
67   portName: portal-app
68   externalPort: 8989
69   internalPort: 8080
70   nodePort: 15
71   externalPort2: 8006
72   internalPort2: 8005
73   nodePort2: 13
74   externalPort3: 8010
75   internalPort3: 8009
76   nodePort3: 14
77   externalPort4: 8443
78   internalPort4: 8443
79   nodePort4: 25
80
81 mariadb:
82   service:
83     name: portal-db
84 widget:
85   service:
86     name: portal-widget
87 cassandra:
88   service:
89     name: portal-cassandra
90   config:
91     cassandraUsername: root
92     cassandraPassword: Aa123456
93 zookeeper:
94   service:
95     name: portal-zookeeper
96 messageRouter:
97   service:
98     name: message-router
99
100 ingress:
101   enabled: false
102
103 # Resource Limit flavor -By Default using small
104 flavor: small
105 # Segregation for Different environment (Small and Large)
106 resources:
107   small:
108     limits:
109       cpu: 2
110       memory: 10Gi
111     requests:
112       cpu: 1
113       memory: 6Gi
114   large:
115     limits:
116       cpu: 4
117       memory: 15Gi
118     requests:
119       cpu: 2
120       memory: 8Gi
121   unlimited: {}