Merge "Migrate to HTTPS from HTTP - VNFSDK"
[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 global config overrides
27   aafEnabled: true
28   aafAgentImage: onap/aaf/aaf_agent:2.1.15
29   aafAppNs: org.osaaf.aaf
30   aafLocatorContainer: oom
31 #################################################################
32 # Application configuration defaults.
33 #################################################################
34 secrets:
35   - uid: aaf-deploy-creds
36     type: basicAuth
37     externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
38     login: '{{ .Values.aafConfig.aafDeployFqi }}'
39     password: '{{ .Values.aafConfig.aafDeployPass }}'
40     passwordPolicy: required
41
42 ## Persist cert data to a memory volume
43 persistence:
44   aafCredsPath: /opt/app/osaaf/local
45
46 # application image
47 repository: nexus3.onap.org:10001
48 image: onap/portal-sdk:2.6.0
49 pullPolicy: Always
50
51 #AAF service
52 aafURL: https://aaf-service:8100/
53 aafLocateUrl: https://aaf-locate:8095
54
55 #AAF local config
56 aafConfig:
57   aafDeployFqi: deployer@people.osaaf.org
58   aafDeployPass: demo123456!
59   fqdn: portal
60   fqi: portal@portal.onap.org
61   publicFqdn: portal.onap.org
62   cadiLatitude: 0.0
63   cadiLongitude: 0.0
64   keystoreFile: "org.onap.portal.p12"
65   truststoreFile: "org.onap.portal.trust.jks"
66
67 # flag to enable debugging - application support required
68 debugEnabled: false
69
70 # default number of instances
71 replicaCount: 1
72
73 nodeSelector: {}
74
75 affinity: {}
76
77 # probe configuration parameters
78 liveness:
79   initialDelaySeconds: 10
80   periodSeconds: 10
81   # necessary to disable liveness probe when setting breakpoints
82   # in debugger so K8s doesn't restart unresponsive container
83   enabled: true
84
85 readiness:
86   initialDelaySeconds: 10
87   periodSeconds: 10
88
89 service:
90   type: NodePort
91   name: portal-sdk
92   portName: portal-sdk
93   internalPort: 8443
94   externalPort: 8443
95   nodePort: 12
96
97 mariadb:
98   service:
99     name: portal-db
100 widget:
101   service:
102     name: portal-widget
103 cassandra:
104   service:
105     name: portal-cassandra
106   config:
107     cassandraUsername: root
108     cassandraPassword: Aa123456
109 zookeeper:
110   service:
111     name: portal-zookeeper
112 messageRouter:
113   service:
114     name: message-router
115
116 ingress:
117   enabled: false
118   service:
119     - baseaddr: portalsdk
120       name: "portal-sdk"
121       port: 8443
122   config:
123     ssl: "none"
124
125 # Resource Limit flavor -By Default using small
126 flavor: small
127 # Segregation for Different environment (Small and Large)
128 resources:
129   small:
130     limits:
131       cpu: 600m
132       memory: 1.6Gi
133     requests:
134       cpu: 10m
135       memory: 1.3Gi
136   large:
137     limits:
138       cpu: 8
139       memory: 20Gi
140     requests:
141       cpu: 4
142       memory: 10Gi
143   unlimited: {}