vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # Default values for uui. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: |
| 19 | uuiPortPrefix: 303 |
guillaume.lambert | 30ec390 | 2021-09-14 12:32:24 +0200 | [diff] [blame] | 20 | |
Sylvain Desbureaux | e6a1a37 | 2021-02-25 18:07:55 +0100 | [diff] [blame] | 21 | ################################################################# |
| 22 | # AAF part |
| 23 | ################################################################# |
| 24 | certInitializer: |
| 25 | nameOverride: uui-server-cert-initializer |
| 26 | aafDeployFqi: deployer@people.osaaf.org |
| 27 | aafDeployPass: demo123456! |
| 28 | # aafDeployCredsExternalSecret: some secret |
| 29 | fqdn: uui |
| 30 | fqi: uui@uui.onap.org |
| 31 | fqi_namespace: org.onap.uui |
| 32 | public_fqdn: uui.onap.org |
| 33 | cadi_longitude: "0.0" |
| 34 | cadi_latitude: "0.0" |
| 35 | app_ns: org.osaaf.aaf |
| 36 | credsPath: /opt/app/osaaf/local |
| 37 | aaf_add_config: | |
| 38 | echo "*** changing them into shell safe ones" |
| 39 | export KEYSTORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1) |
| 40 | export TRUSTSORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1) |
| 41 | cd {{ .Values.credsPath }} |
| 42 | keytool -storepasswd -new "${KEYSTORE_PASSWORD}" \ |
| 43 | -storepass "${cadi_keystore_password_p12}" \ |
| 44 | -keystore {{ .Values.fqi_namespace }}.p12 |
| 45 | keytool -storepasswd -new "${TRUSTSORE_PASSWORD}" \ |
| 46 | -storepass "${cadi_truststore_password}" \ |
| 47 | -keystore {{ .Values.fqi_namespace }}.trust.jks |
| 48 | echo "*** set key password as same password as keystore password" |
| 49 | keytool -keypasswd -new "${KEYSTORE_PASSWORD}" \ |
| 50 | -keystore {{ .Values.fqi_namespace }}.jks \ |
| 51 | -keypass "${cadi_keystore_password_p12}" \ |
| 52 | -storepass "${KEYSTORE_PASSWORD}" -alias {{ .Values.fqi }} |
| 53 | echo "*** save the generated passwords" |
| 54 | echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD}" > mycreds.prop |
| 55 | echo "TRUSTSORE_PASSWORD=${TRUSTSORE_PASSWORD}" >> mycreds.prop |
| 56 | echo "*** change ownership of certificates to targeted user" |
| 57 | chown -R 1000 {{ .Values.credsPath }} |
| 58 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 59 | subChartsOnly: |
| 60 | enabled: true |
| 61 | |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 62 | flavor: small |
| 63 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 64 | # application image |
| 65 | repository: nexus3.onap.org:10001 |
hekeguang | 48e436b | 2022-03-23 12:49:53 +0800 | [diff] [blame^] | 66 | image: onap/usecase-ui-server:4.0.6 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 67 | pullPolicy: Always |
| 68 | |
| 69 | # application configuration |
| 70 | |
hekeguang | 9358bef | 2020-02-26 15:05:50 +0800 | [diff] [blame] | 71 | msbaddr: msb-iag.{{include "common.namespace" .}}:443 |
Mike Elliott | 6d499e3 | 2018-04-19 21:23:27 -0400 | [diff] [blame] | 72 | mraddr: message-router.{{include "common.namespace" .}}:3904 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 73 | |
| 74 | # flag to enable debugging - application support required |
| 75 | debugEnabled: false |
| 76 | |
| 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
Netajisu | 11fe583 | 2018-07-24 13:08:08 +0000 | [diff] [blame] | 86 | initialDelaySeconds: 120 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 87 | periodSeconds: 10 |
| 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
Netajisu | 11fe583 | 2018-07-24 13:08:08 +0000 | [diff] [blame] | 93 | initialDelaySeconds: 60 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 94 | periodSeconds: 10 |
| 95 | |
| 96 | service: |
| 97 | type: NodePort |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 98 | name: uui-server |
| 99 | portName: uui-server |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 100 | internalPort: 8082 |
| 101 | nodePort: 99 |
| 102 | |
| 103 | ingress: |
| 104 | enabled: false |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 105 | service: |
| 106 | - baseaddr: uuiserver |
| 107 | name: "uui-server" |
| 108 | port: 8082 |
| 109 | config: |
Sylvain Desbureaux | 133324f | 2020-05-06 15:25:54 +0200 | [diff] [blame] | 110 | ssl: "redirect" |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 111 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 112 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 113 | # choice for the user. This also increases chances charts run on environments with little |
| 114 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 115 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 116 | # |
| 117 | # Example: |
| 118 | # Configure resource requests and limits |
| 119 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 120 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 121 | # Minimum memory for production is 4 CPU cores and 8GB memory |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 122 | resources: |
| 123 | small: |
| 124 | limits: |
Sylvain Desbureaux | 4e97c77 | 2020-03-05 13:54:52 +0100 | [diff] [blame] | 125 | cpu: 1.5 |
| 126 | memory: 350Mi |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 127 | requests: |
Sylvain Desbureaux | 4e97c77 | 2020-03-05 13:54:52 +0100 | [diff] [blame] | 128 | cpu: 1 |
| 129 | memory: 245Mi |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 130 | large: |
| 131 | limits: |
Sylvain Desbureaux | 4e97c77 | 2020-03-05 13:54:52 +0100 | [diff] [blame] | 132 | cpu: 2 |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 133 | memory: 500Mi |
| 134 | requests: |
Sylvain Desbureaux | 4e97c77 | 2020-03-05 13:54:52 +0100 | [diff] [blame] | 135 | cpu: 1 |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 136 | memory: 500Mi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 137 | unlimited: {} |