blob: f86ff85f75a7cef144dcc3fd1b82feec2a95828b [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
Sandeep Shah8f1acc02020-10-20 16:11:21 -050021
22################################################################
23# Secrets metaconfig
24#################################################################
25
26secrets:
27 - uid: portal-backend-db
28 type: basicAuth
29 externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
30 login: '{{ .Values.mariadb.config.backendUserName }}'
31 password: '{{ .Values.mariadb.config.backendPassword }}'
32 passwordPolicy: required
33 - uid: portal-widget
34 type: basicAuth
35 externalSecret: '{{ tpl (default "" .Values.config.widgetCredsExternalSecret) . }}'
36 login: '{{ .Values.config.widgetUsername }}'
37 password: '{{ .Values.config.widgetPassword }}'
38 passwordPolicy: required
39 - uid: portal-account
40 type: basicAuth
41 externalSecret: '{{ tpl (default "" .Values.config.accountCredsExternalSecret) . }}'
42 login: '{{ .Values.config.accountUsername }}'
43 password: '{{ .Values.config.accountPassword }}'
44 passwordPolicy: required
45 - uid: jasypt-enc-key
46 type: password
47 externalSecret: '{{ .Values.config.jasyptEncKeyExternalSecret}}'
48 password: '{{ .Values.config.jasyptEncKey }}'
49 passwordPolicy: required
50
51config:
52 widgetUsername: widget_user
53 widgetPassword: widget_pass
54# widgetCredsExternalSecret: some secret
55 accountUsername: portal
56 accountPassword: portal
57# accountCredsExternalSecret: some secret
58 jasyptEncKey: EncryptionKey
59 # jasyptEncKeyExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +000060
61#################################################################
62# Application configuration defaults.
63#################################################################
64# application image
Sandeep Shahe614fd32020-10-30 10:34:08 -050065image: onap/portal-wms:3.4.2
Mandeep Khinda1d123882018-03-27 01:26:59 +000066pullPolicy: Always
67
68# flag to enable debugging - application support required
69debugEnabled: false
70
71# default number of instances
72replicaCount: 1
73
74nodeSelector: {}
75
76affinity: {}
77
78# probe configuration parameters
79liveness:
80 initialDelaySeconds: 10
81 periodSeconds: 10
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
84 enabled: true
85
86readiness:
87 initialDelaySeconds: 10
88 periodSeconds: 10
89
90mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000091 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000092 name: portal-db
Sandeep Shah8f1acc02020-10-20 16:11:21 -050093 config:
94 # backendDbExternalSecret: some secret
95 backendUserName: portal
96 backendPassword: portal
Mandeep Khinda1d123882018-03-27 01:26:59 +000097
98service:
99 type: ClusterIP
100 name: portal-widget
BorislavG1ffbd992018-04-24 07:56:27 +0000101 portName: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000102 externalPort: 8082
103 internalPort: 8082
104
105ingress:
106 enabled: false
107
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000108# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000109flavor: small
110# Segregation for Different environment (Small and Large)
111resources:
112 small:
113 limits:
114 cpu: 1
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100115 memory: 430Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000116 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100117 cpu: 1m
118 memory: 360Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000119 large:
120 limits:
121 cpu: 2
122 memory: 8Gi
123 requests:
124 cpu: 1
125 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000126 unlimited: {}