blob: 9c9d944196133a5e9e74dffe72983af8f53324ea [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
Sylvain Desbureauxe6a1a372021-02-25 18:07:55 +010022#################################################################
23# AAF part
24#################################################################
25certInitializer:
26 nameOverride: uui-cert-initializer
27 aafDeployFqi: deployer@people.osaaf.org
28 aafDeployPass: demo123456!
29 # aafDeployCredsExternalSecret: some secret
30 fqdn: uui
31 fqi: uui@uui.onap.org
32 fqi_namespace: org.onap.uui
33 public_fqdn: uui.onap.org
34 cadi_longitude: "0.0"
35 cadi_latitude: "0.0"
36 app_ns: org.osaaf.aaf
37 credsPath: /opt/app/osaaf/local
38 aaf_add_config: |
39 echo "*** changing them into shell safe ones"
40 export KEYSTORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
41 export TRUSTSORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
42 cd {{ .Values.credsPath }}
43 keytool -storepasswd -new "${KEYSTORE_PASSWORD}" \
44 -storepass "${cadi_keystore_password_p12}" \
45 -keystore {{ .Values.fqi_namespace }}.p12
46 keytool -storepasswd -new "${TRUSTSORE_PASSWORD}" \
47 -storepass "${cadi_truststore_password}" \
48 -keystore {{ .Values.fqi_namespace }}.trust.jks
49 echo "*** save the generated passwords"
50 echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD}" > mycreds.prop
51 echo "TRUSTSORE_PASSWORD=${TRUSTSORE_PASSWORD}" >> mycreds.prop
52 echo "*** change ownership of certificates to targeted user"
53 chown -R 1000 {{ .Values.credsPath }}
54
vaibhav_16dec14d51612018-03-28 07:48:35 +000055subChartsOnly:
56 enabled: true
57
GregSuleka4ce0b22018-09-18 19:39:03 -040058flavor: small
59
vaibhav_16dec14d51612018-03-28 07:48:35 +000060# application image
cmrizhangzhen5c69e792022-11-25 17:27:35 +080061image: onap/usecase-ui:5.1.2
Dusan Rozman03aa27e2017-10-11 13:04:23 -040062pullPolicy: Always
vaibhav_16dec14d51612018-03-28 07:48:35 +000063
64# application configuration
65
66msbaddr: msb-iag.{{include "common.namespace" .}}:80
Mike Elliott6d499e32018-04-19 21:23:27 -040067mraddr: message-router.{{include "common.namespace" .}}:3904
vaibhav_16dec14d51612018-03-28 07:48:35 +000068
69# flag to enable debugging - application support required
70debugEnabled: false
71
72# default number of instances
73replicaCount: 1
74
75nodeSelector: {}
76
77affinity: {}
78
79# probe configuration parameters
80liveness:
81 initialDelaySeconds: 10
82 periodSeconds: 10
83 # necessary to disable liveness probe when setting breakpoints
84 # in debugger so K8s doesn't restart unresponsive container
85 enabled: true
86
87readiness:
88 initialDelaySeconds: 10
89 periodSeconds: 10
90
91service:
92 type: NodePort
93 name: uui
amatthewsb6229de2022-10-25 12:27:50 +010094 portName: http
hekeguang9fc51362020-03-17 15:25:24 +080095 internalPort: 8443
vaibhav_16dec14d51612018-03-28 07:48:35 +000096 nodePort: 98
97
98ingress:
99 enabled: false
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +0100100 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200101 - baseaddr: "uui-ui"
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +0100102 name: "uui"
hekeguang9fc51362020-03-17 15:25:24 +0800103 port: 8443
Lucjan Bryndza3c2fb1f2019-11-26 14:17:42 +0100104 config:
Sylvain Desbureaux133324f2020-05-06 15:25:54 +0200105 ssl: "redirect"
vaibhav_16dec14d51612018-03-28 07:48:35 +0000106
vaibhav_16dec14d51612018-03-28 07:48:35 +0000107 # We usually recommend not to specify default resources and to leave this as a conscious
108 # choice for the user. This also increases chances charts run on environments with little
109 # resources, such as Minikube. If you do want to specify resources, uncomment the following
110 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
111 #
112 # Example:
113 # Configure resource requests and limits
114 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
115 # Minimum memory for development is 2 CPU cores and 4GB memory
116 # Minimum memory for production is 4 CPU cores and 8GB memory
GregSuleka4ce0b22018-09-18 19:39:03 -0400117resources:
118 small:
119 limits:
120 cpu: 250m
121 memory: 1Gi
122 requests:
123 cpu: 250m
124 memory: 1Gi
125 large:
126 limits:
127 cpu: 500m
128 memory: 1Gi
129 requests:
130 cpu: 500m
131 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 unlimited: {}