Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdc / components / sdc-fe / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
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 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/sdc-frontend:1.13.6
27 pullPolicy: Always
28
29 config:
30   javaOptions: "-Xmx256m -Xms256m"
31   plugins:
32     dcae_discovery_url:
33       http: "http://sdc-dcae-fe:8183/dcaed/#/home"
34     dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
35     dcae_dt_discovery_url:
36       http: "http://sdc-dcae-dt:8186/dcae/#/dcae/home"
37     dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
38     workflow_discovery_url:
39       http: "http://sdc-wfd-fe:8080/workflows"
40     workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
41
42 #environment file
43 env:
44   name: AUTO
45
46 security:
47   disableHttp: true
48
49 # default number of instances
50 replicaCount: 1
51
52 nodeSelector: {}
53
54 affinity: {}
55
56 # probe configuration parameters
57 liveness:
58   initialDelaySeconds: 1
59   periodSeconds: 10
60   timeoutSeconds: 15
61   successThreshold: 1
62   failureThreshold: 3
63   # necessary to disable liveness probe when setting breakpoints
64   # in debugger so K8s doesn't restart unresponsive container
65   enabled: true
66
67 readiness:
68   initialDelaySeconds: 1
69   periodSeconds: 10
70   timeoutSeconds: 15
71   successThreshold: 1
72   failureThreshold: 3
73
74 startup:
75   initialDelaySeconds: 10
76   periodSeconds: 10
77   timeoutSeconds: 15
78   successThreshold: 1
79   failureThreshold: 60
80
81 service:
82   type: NodePort
83   name: sdc-fe
84   internalPort: 8181
85   ports:
86     - name: http
87       port: 8181
88       nodePort: '07'
89   annotations:
90     msb.onap.org/service-info: |
91       {{ if .Values.global.msbEnabled -}}[
92         {
93           "serviceName": "sdc-ui",
94           "version": "v1",
95           "url": "/sdc1",
96           "protocol": "UI",
97           "visualRange":"0|1",
98           "port": "{{ .Values.service.internalPort }}",
99         }
100       ]{{ end }}
101
102 ingress:
103   enabled: false
104   service:
105     - baseaddr: "sdc-fe-ui"
106       name: "sdc-fe"
107       port: 8181
108   config:
109     ssl: "redirect"
110
111 serviceMesh:
112   authorizationPolicy:
113     authorizedPrincipals:
114       - serviceAccount: consul-read
115       - serviceAccount: consul-server-read
116       - serviceAccount: istio-ingress
117         namespace: istio-ingress
118
119 # Resource Limit flavor -By Default using small
120 flavor: small
121 # Segregation for Different environment (Small and Large)
122 resources:
123   small:
124     limits:
125       cpu: "1"
126       memory: "1Gi"
127     requests:
128       cpu: "0.5"
129       memory: "1Gi"
130   large:
131     limits:
132       cpu: "2"
133       memory: "2Gi"
134     requests:
135       cpu: "1"
136       memory: "2Gi"
137   unlimited: {}
138
139 #Pods Service Account
140 serviceAccount:
141   nameOverride: sdc-fe
142   roles:
143     - read
144
145 #Log configuration
146 log:
147   path: /var/log/onap
148 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'