Portal-app auto cert gen
[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
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31
32 # application image
33 repository: nexus3.onap.org:10001
34 image: onap/portal-app:2.6.0
35 pullPolicy: Always
36
37 #AAF local config
38
39 aafURL: https://aaf-service:8100/
40 aafConfig:
41   aafDeployFqi: deployer@people.osaaf.org
42   aafDeployPass: demo123456!
43   fqdn: portal
44   fqi: portal@portal.onap.org
45   publicFqdn: portal.onap.org
46   cadi_latitude: "38.0"
47   cadi_longitude: "-72.0"
48   credsPath: /opt/app/osaaf/local
49   app_ns: org.osaaf.aaf
50   permission_user: 1000
51   permission_group: 999
52   addconfig: true
53   secret_uid: &aaf_secret_uid portal-app-aaf-deploy-creds
54   keystoreFile: "org.onap.portal.p12"
55   truststoreFile: "org.onap.portal.trust.jks"
56
57 secrets:
58   - uid: *aaf_secret_uid
59     type: basicAuth
60     externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
61     login: '{{ .Values.aafConfig.aafDeployFqi }}'
62     password: '{{ .Values.aafConfig.aafDeployPass }}'
63     passwordPolicy: required
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: LoadBalancer
86   name: portal-app
87   portName: portal-app
88   externalPort: 8989
89   internalPort: 8080
90   nodePort: 15
91   externalPort2: 8006
92   internalPort2: 8005
93   nodePort2: 13
94   externalPort3: 8010
95   internalPort3: 8009
96   nodePort3: 14
97   externalPort4: 8443
98   internalPort4: 8443
99   nodePort4: 25
100
101 mariadb:
102   service:
103     name: portal-db
104 widget:
105   service:
106     name: portal-widget
107 cassandra:
108   service:
109     name: portal-cassandra
110   config:
111     cassandraUsername: root
112     cassandraPassword: Aa123456
113 zookeeper:
114   service:
115     name: portal-zookeeper
116 messageRouter:
117   service:
118     name: message-router
119
120 ingress:
121   enabled: false
122   service:
123     - baseaddr: portalapp
124       name: "portal-app"
125       port: 8443
126   config:
127     ssl: "redirect"
128
129 # Resource Limit flavor -By Default using small
130 flavor: small
131 # Segregation for Different environment (Small and Large)
132 resources:
133   small:
134     limits:
135       cpu: 2.2
136       memory: 800Mi
137     requests:
138       cpu: 30m
139       memory: 460Mi
140   large:
141     limits:
142       cpu: 4
143       memory: 15Gi
144     requests:
145       cpu: 2
146       memory: 8Gi
147   unlimited: {}