vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
amatthews | b6229de | 2022-10-25 12:27:50 +0100 | [diff] [blame] | 2 | # Copyright (c) 2022 Nordix Foundation. |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 16 | # Default values for uui. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: |
Andreas Geissler | aeb99f4 | 2023-06-28 10:29:00 +0200 | [diff] [blame] | 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 22 | subChartsOnly: |
| 23 | enabled: true |
| 24 | |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 25 | flavor: small |
| 26 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 27 | # application image |
kaixiliu | 3a83708 | 2023-06-15 15:54:40 +0800 | [diff] [blame] | 28 | image: onap/usecase-ui:5.2.2 |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 29 | pullPolicy: Always |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 30 | |
| 31 | # application configuration |
| 32 | |
| 33 | msbaddr: msb-iag.{{include "common.namespace" .}}:80 |
Mike Elliott | 6d499e3 | 2018-04-19 21:23:27 -0400 | [diff] [blame] | 34 | mraddr: message-router.{{include "common.namespace" .}}:3904 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 35 | |
| 36 | # flag to enable debugging - application support required |
| 37 | debugEnabled: false |
| 38 | |
| 39 | # default number of instances |
| 40 | replicaCount: 1 |
| 41 | |
| 42 | nodeSelector: {} |
| 43 | |
| 44 | affinity: {} |
| 45 | |
| 46 | # probe configuration parameters |
| 47 | liveness: |
| 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 | |
| 54 | readiness: |
| 55 | initialDelaySeconds: 10 |
| 56 | periodSeconds: 10 |
| 57 | |
| 58 | service: |
| 59 | type: NodePort |
| 60 | name: uui |
Andreas Geissler | 22f3b16 | 2023-02-07 13:10:01 +0100 | [diff] [blame] | 61 | internalPort: 8080 |
Andreas Geissler | aeb99f4 | 2023-06-28 10:29:00 +0200 | [diff] [blame] | 62 | nodePortPrefixOverride: 303 |
Andreas Geissler | 22f3b16 | 2023-02-07 13:10:01 +0100 | [diff] [blame] | 63 | ports: |
| 64 | - name: http |
Andreas Geissler | c20e4dc | 2023-03-20 17:56:12 +0100 | [diff] [blame] | 65 | port: 8080 |
Andreas Geissler | 22f3b16 | 2023-02-07 13:10:01 +0100 | [diff] [blame] | 66 | nodePort: '98' |
| 67 | annotations: |
| 68 | msb.onap.org/service-info: | |
| 69 | {{ if .Values.global.msbEnabled -}}[ |
| 70 | { |
| 71 | "serviceName": "usecaseui-ui", |
| 72 | "version": "v1", |
| 73 | "url": "/usecase-ui", |
| 74 | "path":"/iui/usecaseui", |
| 75 | "protocol": "UI", |
| 76 | "visualRange":"1", |
Andreas Geissler | 7244068 | 2023-04-12 17:01:25 +0200 | [diff] [blame] | 77 | "port": "{{ include "common.getPort" (dict "global" . "name" "http" "getPlain" true) }}", |
| 78 | "enable_ssl": false |
Andreas Geissler | 22f3b16 | 2023-02-07 13:10:01 +0100 | [diff] [blame] | 79 | } |
| 80 | ]{{ end }} |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 81 | |
| 82 | ingress: |
| 83 | enabled: false |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 84 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 85 | - baseaddr: "uui-ui" |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 86 | name: "uui" |
Andreas Geissler | c20e4dc | 2023-03-20 17:56:12 +0100 | [diff] [blame] | 87 | port: 8080 |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 88 | config: |
Sylvain Desbureaux | 133324f | 2020-05-06 15:25:54 +0200 | [diff] [blame] | 89 | ssl: "redirect" |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 90 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 91 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 92 | # choice for the user. This also increases chances charts run on environments with little |
| 93 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 94 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 95 | # |
| 96 | # Example: |
| 97 | # Configure resource requests and limits |
| 98 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 99 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 100 | # Minimum memory for production is 4 CPU cores and 8GB memory |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 101 | resources: |
| 102 | small: |
| 103 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 104 | cpu: "250m" |
| 105 | memory: "1Gi" |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 106 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 107 | cpu: "250m" |
| 108 | memory: "1Gi" |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 109 | large: |
| 110 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 111 | cpu: "500m" |
| 112 | memory: "1Gi" |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 113 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 114 | cpu: "500m" |
| 115 | memory: "1Gi" |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 116 | unlimited: {} |