Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / portal / components / portal-widget / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 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
22 ################################################################
23 # Secrets metaconfig
24 #################################################################
25
26 secrets:
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
51 config:
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
60
61 #################################################################
62 # Application configuration defaults.
63 #################################################################
64 # application image
65 image: onap/portal-wms:3.4.2
66 pullPolicy: Always
67
68 # flag to enable debugging - application support required
69 debugEnabled: false
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
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
86 readiness:
87   initialDelaySeconds: 10
88   periodSeconds: 10
89
90 mariadb:
91   service:
92     name: portal-db
93   config:
94     # backendDbExternalSecret: some secret
95     backendUserName: portal
96     backendPassword: portal
97
98 service:
99   type: ClusterIP
100   name: portal-widget
101   portName: portal-widget
102   externalPort: 8082
103   internalPort: 8082
104
105 ingress:
106   enabled: false
107
108 # Resource Limit flavor -By Default using small
109 flavor: small
110 # Segregation for Different environment (Small and Large)
111 resources:
112   small:
113     limits:
114       cpu: 1
115       memory: 430Mi
116     requests:
117       cpu: 1m
118       memory: 360Mi
119   large:
120     limits:
121       cpu: 2
122       memory: 8Gi
123     requests:
124       cpu: 1
125       memory: 4Gi
126   unlimited: {}
127
128 #Pods Service Account
129 serviceAccount:
130   nameOverride: portal-widget
131   roles:
132     - read