[PORTAL] Move portal subcharts to components
[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   aafAgentImage: onap/aaf/aaf_agent:2.1.20
31
32 #################################################################
33 # Application configuration defaults.
34 #################################################################
35
36 # application image
37 repository: nexus3.onap.org:10001
38 image: onap/portal-sdk:3.2.0
39 pullPolicy: Always
40
41 #AAF local config
42 aafURL: https://aaf-service:8100/authz/
43 aafConfig:
44   aafDeployFqi: deployer@people.osaaf.org
45   aafDeployPass: demo123456!
46   fqdn: portal
47   fqi: portal@portal.onap.org
48   publicFqdn: 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   addconfig:  true
56   secret_uid: &aaf_secret_uid portal-sdk-aaf-deploy-creds
57   keystoreFile: "org.onap.portal.p12"
58   truststoreFile: "org.onap.portal.trust.jks"
59
60 secrets:
61   - uid: *aaf_secret_uid
62     type: basicAuth
63     externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
64     login: '{{ .Values.aafConfig.aafDeployFqi }}'
65     password: '{{ .Values.aafConfig.aafDeployPass }}'
66     passwordPolicy: required
67
68 # flag to enable debugging - application support required
69 debugEnabled: false
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 10
81   periodSeconds: 10
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: true
85
86 readiness:
87   initialDelaySeconds: 10
88   periodSeconds: 10
89
90 service:
91   type: NodePort
92   name: portal-sdk
93   portName: portal-sdk
94   internalPort: 8443
95   externalPort: 8443
96   nodePort: 12
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 zookeeper:
111   service:
112     name: portal-zookeeper
113 messageRouter:
114   service:
115     name: message-router
116
117 ingress:
118   enabled: false
119   service:
120     - baseaddr: portal-sdk
121       name: "portal-sdk"
122       port: 8443
123   config:
124     ssl: "redirect"
125
126 # Resource Limit flavor -By Default using small
127 flavor: small
128 # Segregation for Different environment (Small and Large)
129 resources:
130   small:
131     limits:
132       cpu: 600m
133       memory: 1.6Gi
134     requests:
135       cpu: 10m
136       memory: 1.3Gi
137   large:
138     limits:
139       cpu: 8
140       memory: 20Gi
141     requests:
142       cpu: 4
143       memory: 10Gi
144   unlimited: {}