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