blob: 8d29ab8d4552dd7cff9d88ccb77676f83627f7e8 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
amatthewsb6229de2022-10-25 12:27:50 +01002# Copyright (c) 2022 Nordix Foundation.
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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
vaibhav_16dec14d51612018-03-28 07:48:35 +000016# Default values for uui.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global:
20 uuiPortPrefix: 303
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021
vaibhav_16dec14d51612018-03-28 07:48:35 +000022subChartsOnly:
23 enabled: true
24
GregSuleka4ce0b22018-09-18 19:39:03 -040025flavor: small
26
vaibhav_16dec14d51612018-03-28 07:48:35 +000027# application image
kaixiliu3a837082023-06-15 15:54:40 +080028image: onap/usecase-ui:5.2.2
Dusan Rozman03aa27e2017-10-11 13:04:23 -040029pullPolicy: Always
vaibhav_16dec14d51612018-03-28 07:48:35 +000030
31# application configuration
32
33msbaddr: msb-iag.{{include "common.namespace" .}}:80
Mike Elliott6d499e32018-04-19 21:23:27 -040034mraddr: message-router.{{include "common.namespace" .}}:3904
vaibhav_16dec14d51612018-03-28 07:48:35 +000035
36# flag to enable debugging - application support required
37debugEnabled: false
38
39# default number of instances
40replicaCount: 1
41
42nodeSelector: {}
43
44affinity: {}
45
46# probe configuration parameters
47liveness:
48 initialDelaySeconds: 10
49 periodSeconds: 10
50 # necessary to disable liveness probe when setting breakpoints
51 # in debugger so K8s doesn't restart unresponsive container
52 enabled: true
53
54readiness:
55 initialDelaySeconds: 10
56 periodSeconds: 10
57
58service:
59 type: NodePort
60 name: uui
Andreas Geissler22f3b162023-02-07 13:10:01 +010061 internalPort: 8080
62 ports:
63 - name: http
Andreas Geisslerc20e4dc2023-03-20 17:56:12 +010064 port: 8080
Andreas Geissler22f3b162023-02-07 13:10:01 +010065 nodePort: '98'
66 annotations:
67 msb.onap.org/service-info: |
68 {{ if .Values.global.msbEnabled -}}[
69 {
70 "serviceName": "usecaseui-ui",
71 "version": "v1",
72 "url": "/usecase-ui",
73 "path":"/iui/usecaseui",
74 "protocol": "UI",
75 "visualRange":"1",
Andreas Geissler72440682023-04-12 17:01:25 +020076 "port": "{{ include "common.getPort" (dict "global" . "name" "http" "getPlain" true) }}",
77 "enable_ssl": false
Andreas Geissler22f3b162023-02-07 13:10:01 +010078 }
79 ]{{ end }}
vaibhav_16dec14d51612018-03-28 07:48:35 +000080
81ingress:
82 enabled: false
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +010083 service:
Andreas Geissler51900a92022-08-03 13:10:35 +020084 - baseaddr: "uui-ui"
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +010085 name: "uui"
Andreas Geisslerc20e4dc2023-03-20 17:56:12 +010086 port: 8080
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +010087 config:
Sylvain Desbureaux133324f2020-05-06 15:25:54 +020088 ssl: "redirect"
vaibhav_16dec14d51612018-03-28 07:48:35 +000089
vaibhav_16dec14d51612018-03-28 07:48:35 +000090 # We usually recommend not to specify default resources and to leave this as a conscious
91 # choice for the user. This also increases chances charts run on environments with little
92 # resources, such as Minikube. If you do want to specify resources, uncomment the following
93 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
94 #
95 # Example:
96 # Configure resource requests and limits
97 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
98 # Minimum memory for development is 2 CPU cores and 4GB memory
99 # Minimum memory for production is 4 CPU cores and 8GB memory
GregSuleka4ce0b22018-09-18 19:39:03 -0400100resources:
101 small:
102 limits:
103 cpu: 250m
104 memory: 1Gi
105 requests:
106 cpu: 250m
107 memory: 1Gi
108 large:
109 limits:
110 cpu: 500m
111 memory: 1Gi
112 requests:
113 cpu: 500m
114 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000115 unlimited: {}