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