blob: 1367b25e4cf9acc4373e94cd5471c13f44df01d9 [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
Mandeep Khinda1d123882018-03-27 01:26:59 +00003#
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#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khinda1d123882018-03-27 01:26:59 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24 ubuntuInit: ubuntu-init:1.0.0
Sandeep Shah8f1acc02020-10-20 16:11:21 -050025 envsubstImage: dibi/envsubst
26
27################################################################
28# Secrets metaconfig
29#################################################################
30
31secrets:
32 - uid: portal-backend-db
33 type: basicAuth
34 externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
35 login: '{{ .Values.mariadb.config.backendUserName }}'
36 password: '{{ .Values.mariadb.config.backendPassword }}'
37 passwordPolicy: required
38 - uid: portal-widget
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.config.widgetCredsExternalSecret) . }}'
41 login: '{{ .Values.config.widgetUsername }}'
42 password: '{{ .Values.config.widgetPassword }}'
43 passwordPolicy: required
44 - uid: portal-account
45 type: basicAuth
46 externalSecret: '{{ tpl (default "" .Values.config.accountCredsExternalSecret) . }}'
47 login: '{{ .Values.config.accountUsername }}'
48 password: '{{ .Values.config.accountPassword }}'
49 passwordPolicy: required
50 - uid: jasypt-enc-key
51 type: password
52 externalSecret: '{{ .Values.config.jasyptEncKeyExternalSecret}}'
53 password: '{{ .Values.config.jasyptEncKey }}'
54 passwordPolicy: required
55
56config:
57 widgetUsername: widget_user
58 widgetPassword: widget_pass
59# widgetCredsExternalSecret: some secret
60 accountUsername: portal
61 accountPassword: portal
62# accountCredsExternalSecret: some secret
63 jasyptEncKey: EncryptionKey
64 # jasyptEncKeyExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +000065
66#################################################################
67# Application configuration defaults.
68#################################################################
69# application image
70repository: nexus3.onap.org:10001
Sandeep Shah3d565522020-10-03 23:09:58 -050071image: onap/portal-wms:3.4.1
Mandeep Khinda1d123882018-03-27 01:26:59 +000072pullPolicy: Always
73
74# flag to enable debugging - application support required
75debugEnabled: false
76
77# default number of instances
78replicaCount: 1
79
80nodeSelector: {}
81
82affinity: {}
83
84# probe configuration parameters
85liveness:
86 initialDelaySeconds: 10
87 periodSeconds: 10
88 # necessary to disable liveness probe when setting breakpoints
89 # in debugger so K8s doesn't restart unresponsive container
90 enabled: true
91
92readiness:
93 initialDelaySeconds: 10
94 periodSeconds: 10
95
96mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000097 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000098 name: portal-db
Sandeep Shah8f1acc02020-10-20 16:11:21 -050099 config:
100 # backendDbExternalSecret: some secret
101 backendUserName: portal
102 backendPassword: portal
Mandeep Khinda1d123882018-03-27 01:26:59 +0000103
104service:
105 type: ClusterIP
106 name: portal-widget
BorislavG1ffbd992018-04-24 07:56:27 +0000107 portName: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000108 externalPort: 8082
109 internalPort: 8082
110
111ingress:
112 enabled: false
113
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000114# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000115flavor: small
116# Segregation for Different environment (Small and Large)
117resources:
118 small:
119 limits:
120 cpu: 1
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100121 memory: 430Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000122 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100123 cpu: 1m
124 memory: 360Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000125 large:
126 limits:
127 cpu: 2
128 memory: 8Gi
129 requests:
130 cpu: 1
131 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 unlimited: {}