47c0189c40e860ec559f6de3c5d17e394731695a
[oom.git] / kubernetes / portal / components / portal-sdk / 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   persistence: {}
28   #AAF service
29   aafEnabled: true
30
31 #################################################################
32 # Application configuration defaults.
33 #################################################################
34
35 # application image
36 repository: nexus3.onap.org:10001
37 image: onap/portal-sdk:3.2.0
38 pullPolicy: Always
39
40 #AAF local config
41 aafURL: https://aaf-service:8100/authz/
42 certInitializer:
43   nameOverride: portal-sdk-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 # flag to enable debugging - application support required
63 debugEnabled: false
64
65 # default number of instances
66 replicaCount: 1
67
68 nodeSelector: {}
69
70 affinity: {}
71
72 # probe configuration parameters
73 liveness:
74   initialDelaySeconds: 10
75   periodSeconds: 10
76   # necessary to disable liveness probe when setting breakpoints
77   # in debugger so K8s doesn't restart unresponsive container
78   enabled: true
79
80 readiness:
81   initialDelaySeconds: 10
82   periodSeconds: 10
83
84 service:
85   type: NodePort
86   name: portal-sdk
87   portName: portal-sdk
88   internalPort: 8443
89   externalPort: 8443
90   nodePort: 12
91
92 mariadb:
93   service:
94     name: portal-db
95 widget:
96   service:
97     name: portal-widget
98 cassandra:
99   service:
100     name: portal-cassandra
101   config:
102     cassandraUsername: root
103     cassandraPassword: Aa123456
104 zookeeper:
105   service:
106     name: portal-zookeeper
107 messageRouter:
108   service:
109     name: message-router
110
111 ingress:
112   enabled: false
113   service:
114     - baseaddr: portal-sdk
115       name: "portal-sdk"
116       port: 8443
117   config:
118     ssl: "redirect"
119
120 # Resource Limit flavor -By Default using small
121 flavor: small
122 # Segregation for Different environment (Small and Large)
123 resources:
124   small:
125     limits:
126       cpu: 600m
127       memory: 1.6Gi
128     requests:
129       cpu: 10m
130       memory: 1.3Gi
131   large:
132     limits:
133       cpu: 8
134       memory: 20Gi
135     requests:
136       cpu: 4
137       memory: 10Gi
138   unlimited: {}