vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +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 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +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-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 "*** save the generated passwords" |
| 49 | echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD}" > mycreds.prop |
| 50 | echo "TRUSTSORE_PASSWORD=${TRUSTSORE_PASSWORD}" >> mycreds.prop |
| 51 | echo "*** change ownership of certificates to targeted user" |
| 52 | chown -R 1000 {{ .Values.credsPath }} |
| 53 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 54 | subChartsOnly: |
| 55 | enabled: true |
| 56 | |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 57 | flavor: small |
| 58 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 59 | # application image |
hekeguang | 66a544b | 2021-10-12 17:46:39 +0800 | [diff] [blame] | 60 | image: onap/usecase-ui:4.0.5 |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 61 | pullPolicy: Always |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 62 | |
| 63 | # application configuration |
| 64 | |
| 65 | msbaddr: msb-iag.{{include "common.namespace" .}}:80 |
Mike Elliott | 6d499e3 | 2018-04-19 21:23:27 -0400 | [diff] [blame] | 66 | mraddr: message-router.{{include "common.namespace" .}}:3904 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 67 | |
| 68 | # flag to enable debugging - application support required |
| 69 | debugEnabled: false |
| 70 | |
| 71 | # default number of instances |
| 72 | replicaCount: 1 |
| 73 | |
| 74 | nodeSelector: {} |
| 75 | |
| 76 | affinity: {} |
| 77 | |
| 78 | # probe configuration parameters |
| 79 | liveness: |
| 80 | initialDelaySeconds: 10 |
| 81 | periodSeconds: 10 |
| 82 | # necessary to disable liveness probe when setting breakpoints |
| 83 | # in debugger so K8s doesn't restart unresponsive container |
| 84 | enabled: true |
| 85 | |
| 86 | readiness: |
| 87 | initialDelaySeconds: 10 |
| 88 | periodSeconds: 10 |
| 89 | |
| 90 | service: |
| 91 | type: NodePort |
| 92 | name: uui |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 93 | portName: uui |
hekeguang | 9fc5136 | 2020-03-17 15:25:24 +0800 | [diff] [blame] | 94 | internalPort: 8443 |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 95 | nodePort: 98 |
| 96 | |
| 97 | ingress: |
| 98 | enabled: false |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 99 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 100 | - baseaddr: "uui.api" |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 101 | name: "uui" |
hekeguang | 9fc5136 | 2020-03-17 15:25:24 +0800 | [diff] [blame] | 102 | port: 8443 |
Lucjan Bryndza | 3c2fb1f | 2019-11-26 14:17:42 +0100 | [diff] [blame] | 103 | config: |
Sylvain Desbureaux | 133324f | 2020-05-06 15:25:54 +0200 | [diff] [blame] | 104 | ssl: "redirect" |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 105 | |
vaibhav_16dec | 14d5161 | 2018-03-28 07:48:35 +0000 | [diff] [blame] | 106 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 107 | # choice for the user. This also increases chances charts run on environments with little |
| 108 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 109 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 110 | # |
| 111 | # Example: |
| 112 | # Configure resource requests and limits |
| 113 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 114 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 115 | # Minimum memory for production is 4 CPU cores and 8GB memory |
GregSulek | a4ce0b2 | 2018-09-18 19:39:03 -0400 | [diff] [blame] | 116 | resources: |
| 117 | small: |
| 118 | limits: |
| 119 | cpu: 250m |
| 120 | memory: 1Gi |
| 121 | requests: |
| 122 | cpu: 250m |
| 123 | memory: 1Gi |
| 124 | large: |
| 125 | limits: |
| 126 | cpu: 500m |
| 127 | memory: 1Gi |
| 128 | requests: |
| 129 | cpu: 500m |
| 130 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 131 | unlimited: {} |