c9905bc63047da1aac84c03bfbb286d625f33eb9
[oom.git] / kubernetes / sdc / components / sdc-wfd-fe / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/sdc-workflow-frontend:1.12.0
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 config:
33   javaOptions: "-Xmx256m -Xms256m"
34   backendServerURL:
35     http: "http://sdc-wfd-be:8080"
36   # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties
37   isTrustAll: true
38 # https relevant settings. Change in case you have other trust files then default ones.
39
40 #environment file
41 env:
42   name: AUTO
43
44 security:
45   isDefaultStore: false
46
47 # default number of instances
48 replicaCount: 1
49
50 nodeSelector: {}
51
52 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 1
57   periodSeconds: 10
58   successThreshold: 1
59   failureThreshold: 3
60   # necessary to disable liveness probe when setting breakpoints
61   # in debugger so K8s doesn't restart unresponsive container
62   enabled: true
63
64 readiness:
65   initialDelaySeconds: 1
66   periodSeconds: 10
67   successThreshold: 1
68   failureThreshold: 3
69
70 startup:
71   initialDelaySeconds: 10
72   periodSeconds: 10
73   successThreshold: 1
74   failureThreshold: 60
75
76 service:
77   type: NodePort
78   internalPort: 8080
79   ports:
80     - name: http
81       port: 8080
82       port_protocol: http
83       nodePort: '56'
84   annotations:
85     msb.onap.org/service-info: |
86       {{ if .Values.global.msbEnabled -}}[
87         {
88           "serviceName": "wf-gui",
89           "version": "v1",
90           "url": "/",
91           "protocol": "UI",
92           "port": "{{ .Values.service.internalPort }}",
93           "visualRange":"0|1"
94         }
95       ]{{ end }}
96
97 ingress:
98   enabled: false
99   service:
100     - baseaddr: "sdc-wfd-fe-ui"
101       name: "sdc-wfd-fe"
102       port: 8080
103
104 # Resource Limit flavor -By Default using small
105 # Segregation for Different environment (Small and Large)
106 flavor: small
107 resources:
108   small:
109     limits:
110       cpu: 500m
111       memory: 2Gi
112     requests:
113       cpu: 40m
114       memory: 1Gi
115   large:
116     limits:
117       cpu: 1
118       memory: 4Gi
119     requests:
120       cpu: 80m
121       memory: 2Gi
122   unlimited: {}
123
124 #Pods Service Account
125 serviceAccount:
126   nameOverride: sdc-wfd-fe
127   roles:
128     - read
129
130 #Log configuration
131 log:
132   path: /var/log/onap
133 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'