blob: d0d1d11638b7cfdbd2f21c1e9f8d670f68404cd3 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000021
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
MichaelMorrisde680b02023-06-06 17:23:58 +010026image: onap/sdc-frontend:1.12.5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000027pullPolicy: Always
28
Mandeep Khinda403c1c12018-04-19 23:15:43 +000029config:
r.bogackic535c932019-09-03 10:34:12 +020030 javaOptions: "-Xmx256m -Xms256m"
shrikantawachar0c84bc32019-01-16 13:12:21 +053031 plugins:
othman touijer2b764d02022-01-05 14:40:37 +010032 dcae_discovery_url:
othman touijer2b764d02022-01-05 14:40:37 +010033 http: "http://sdc-dcae-fe:8183/dcaed/#/home"
k.kedronc784bbd2019-09-05 18:28:16 +020034 dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
othman touijer2b764d02022-01-05 14:40:37 +010035 dcae_dt_discovery_url:
othman touijer2b764d02022-01-05 14:40:37 +010036 http: "http://sdc-dcae-dt:8186/dcae/#/dcae/home"
k.kedronc784bbd2019-09-05 18:28:16 +020037 dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
othman touijer2b764d02022-01-05 14:40:37 +010038 workflow_discovery_url:
othman touijer2b764d02022-01-05 14:40:37 +010039 http: "http://sdc-wfd-fe:8080/workflows"
IlanaPc80bff92019-11-18 21:10:08 +020040 workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000041
ChrisC742a7b22020-09-04 11:29:57 +020042#environment file
43env:
44 name: AUTO
45
46security:
47 disableHttp: true
48
Mandeep Khindaa1047f42018-03-22 02:12:15 +000049# default number of instances
50replicaCount: 1
51
52nodeSelector: {}
53
54affinity: {}
55
56# probe configuration parameters
57liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020058 initialDelaySeconds: 1
59 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050060 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020061 successThreshold: 1
62 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +000063 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
65 enabled: true
66
67readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020068 initialDelaySeconds: 1
69 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050070 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020071 successThreshold: 1
72 failureThreshold: 3
73
74startup:
75 initialDelaySeconds: 10
76 periodSeconds: 10
77 timeoutSeconds: 15
78 successThreshold: 1
79 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000080
81service:
Mandeep Khindaa1047f42018-03-22 02:12:15 +000082 type: NodePort
83 name: sdc-fe
Mandeep Khindaa1047f42018-03-22 02:12:15 +000084 internalPort: 8181
Andreas Geisslerdd34ead2023-03-20 17:16:45 +010085 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 }}
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000101
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000102ingress:
103 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100104 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200105 - baseaddr: "sdc-fe-ui"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100106 name: "sdc-fe"
Andreas Geisslerdd34ead2023-03-20 17:16:45 +0100107 port: 8181
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100108 config:
109 ssl: "redirect"
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000110
AndrewLambb304a322023-04-11 17:05:54 +0100111serviceMesh:
112 authorizationPolicy:
113 authorizedPrincipals:
114 - serviceAccount: consul-read
115 - serviceAccount: consul-server-read
116 - serviceAccount: istio-ingress
117 namespace: istio-ingress
118
Mukula93baa82018-09-19 15:56:58 +0000119# Resource Limit flavor -By Default using small
120flavor: small
121# Segregation for Different environment (Small and Large)
122resources:
123 small:
124 limits:
ChrisC32172342020-10-02 16:39:13 +0200125 cpu: 500m
126 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000127 requests:
ChrisC32172342020-10-02 16:39:13 +0200128 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000129 memory: 1Gi
130 large:
131 limits:
ChrisC32172342020-10-02 16:39:13 +0200132 cpu: 1
133 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000134 requests:
ChrisC32172342020-10-02 16:39:13 +0200135 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000136 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000137 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200138
139#Pods Service Account
140serviceAccount:
141 nameOverride: sdc-fe
142 roles:
143 - read
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000144
145#Log configuration
146log:
147 path: /var/log/onap
148logConfigMapNamePrefix: '{{ include "common.fullname" . }}'