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