[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / portal / components / portal-app / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018,2020 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   env:
21     tomcatDir: "/usr/local/tomcat"
22   nodePortPrefix: 302
23   readinessImage: onap/oom/readiness:3.0.1
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   #AAF service
27   aafEnabled: true
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32
33 # application image
34 repository: nexus3.onap.org:10001
35 image: onap/portal-app:3.2.3
36 pullPolicy: Always
37
38 #AAF local config
39
40 aafURL: https://aaf-service:8100/authz/
41 certInitializer:
42   nameOverride: portal-app-cert-initializer
43   aafDeployFqi: deployer@people.osaaf.org
44   aafDeployPass: demo123456!
45   fqdn: portal
46   fqi: portal@portal.onap.org
47   public_fqdn: portal.onap.org
48   cadi_latitude: "38.0"
49   cadi_longitude: "-72.0"
50   credsPath: /opt/app/osaaf/local
51   app_ns: org.osaaf.aaf
52   permission_user: 1000
53   permission_group: 999
54   keystoreFile: "org.onap.portal.p12"
55   truststoreFile: "org.onap.portal.trust.jks"
56   aaf_add_config: >
57     /opt/app/aaf_config/bin/agent.sh;
58     /opt/app/aaf_config/bin/agent.sh local showpass \
59     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
60
61 # default number of instances
62 replicaCount: 1
63
64 nodeSelector: {}
65
66 affinity: {}
67
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72   # necessary to disable liveness probe when setting breakpoints
73   # in debugger so K8s doesn't restart unresponsive container
74   enabled: true
75
76 readiness:
77   initialDelaySeconds: 10
78   periodSeconds: 10
79
80 service:
81   type: LoadBalancer
82   name: portal-app
83   portName: portal-app
84   externalPort: 8989
85   internalPort: 8080
86   nodePort: 15
87   externalPort2: 8006
88   internalPort2: 8005
89   nodePort2: 13
90   externalPort3: 8010
91   internalPort3: 8009
92   nodePort3: 14
93   externalPort4: 8443
94   internalPort4: 8443
95   nodePort4: 25
96
97 mariadb:
98   service:
99     name: portal-db
100 widget:
101   service:
102     name: portal-widget
103 cassandra:
104   service:
105     name: portal-cassandra
106   config:
107     cassandraUsername: root
108     cassandraPassword: Aa123456
109 zookeeper:
110   service:
111     name: portal-zookeeper
112 messageRouter:
113   service:
114     name: message-router
115
116 ingress:
117   enabled: false
118   service:
119     - baseaddr: portal.api
120       name: "portal-app"
121       port: 8443
122   config:
123     ssl: "redirect"
124
125 # Resource Limit flavor -By Default using small
126 flavor: small
127 # Segregation for Different environment (Small and Large)
128 resources:
129   small:
130     limits:
131       cpu: 2.2
132       memory: 800Mi
133     requests:
134       cpu: 30m
135       memory: 460Mi
136   large:
137     limits:
138       cpu: 4
139       memory: 15Gi
140     requests:
141       cpu: 2
142       memory: 8Gi
143   unlimited: {}