Merge "Change ingress hosnames for exposed services"
[oom.git] / kubernetes / portal / charts / 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   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   persistence: {}
26   #AAF service
27   aafEnabled: true
28   aafAgentImage: onap/aaf/aaf_agent:2.1.20
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 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-sdk-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 # flag to enable debugging - application support required
67 debugEnabled: false
68
69 # default number of instances
70 replicaCount: 1
71
72 nodeSelector: {}
73
74 affinity: {}
75
76 # probe configuration parameters
77 liveness:
78   initialDelaySeconds: 10
79   periodSeconds: 10
80   # necessary to disable liveness probe when setting breakpoints
81   # in debugger so K8s doesn't restart unresponsive container
82   enabled: true
83
84 readiness:
85   initialDelaySeconds: 10
86   periodSeconds: 10
87
88 service:
89   type: NodePort
90   name: portal-sdk
91   portName: portal-sdk
92   internalPort: 8443
93   externalPort: 8443
94   nodePort: 12
95
96 mariadb:
97   service:
98     name: portal-db
99 widget:
100   service:
101     name: portal-widget
102 cassandra:
103   service:
104     name: portal-cassandra
105   config:
106     cassandraUsername: root
107     cassandraPassword: Aa123456
108 zookeeper:
109   service:
110     name: portal-zookeeper
111 messageRouter:
112   service:
113     name: message-router
114
115 ingress:
116   enabled: false
117   service:
118     - baseaddr: portal-sdk
119       name: "portal-sdk"
120       port: 8443
121   config:
122     ssl: "none"
123
124 # Resource Limit flavor -By Default using small
125 flavor: small
126 # Segregation for Different environment (Small and Large)
127 resources:
128   small:
129     limits:
130       cpu: 600m
131       memory: 1.6Gi
132     requests:
133       cpu: 10m
134       memory: 1.3Gi
135   large:
136     limits:
137       cpu: 8
138       memory: 20Gi
139     requests:
140       cpu: 4
141       memory: 10Gi
142   unlimited: {}