Merge "[AAI] Add model-loader tracing config"
[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 serviceMesh:
105   authorizationPolicy:
106     authorizedPrincipals:
107       - serviceAccount: sdc-fe-read
108       - serviceAccount: istio-ingress
109         namespace: istio-ingress
110
111 # Resource Limit flavor -By Default using small
112 # Segregation for Different environment (Small and Large)
113 flavor: small
114 resources:
115   small:
116     limits:
117       cpu: "1"
118       memory: "1Gi"
119     requests:
120       cpu: "0.5"
121       memory: "1Gi"
122   large:
123     limits:
124       cpu: "2"
125       memory: "2Gi"
126     requests:
127       cpu: "1"
128       memory: "2Gi"
129   unlimited: {}
130
131 #Pods Service Account
132 serviceAccount:
133   nameOverride: sdc-wfd-fe
134   roles:
135     - read
136
137 #Log configuration
138 log:
139   path: /var/log/onap
140 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'