Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 2 | # Modifications Copyright © 2018,2020 AT&T |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +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 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
Krzysztof Opasiak | eac587d | 2020-05-21 23:53:02 +0200 | [diff] [blame] | 20 | env: |
| 21 | tomcatDir: "/usr/local/tomcat" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 22 | nodePortPrefix: 302 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 23 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 24 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 25 | loggingRepository: docker.elastic.co |
| 26 | loggingImage: beats/filebeat:5.5.0 |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 27 | #AAF service |
| 28 | aafEnabled: true |
Ondřej Šmalec | 7afb16f | 2020-04-08 12:31:29 +0200 | [diff] [blame] | 29 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 30 | |
| 31 | ################################################################# |
| 32 | # Application configuration defaults. |
| 33 | ################################################################# |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 34 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 35 | # application image |
| 36 | repository: nexus3.onap.org:10001 |
ChrisC | 98e52d2 | 2020-05-20 14:50:23 +0200 | [diff] [blame] | 37 | image: onap/portal-app:3.2.2 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 38 | pullPolicy: Always |
| 39 | |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 40 | #AAF local config |
| 41 | |
ChrisC | 5392994 | 2020-05-04 12:43:34 +0200 | [diff] [blame] | 42 | aafURL: https://aaf-service:8100/authz/ |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 43 | aafConfig: |
| 44 | aafDeployFqi: deployer@people.osaaf.org |
| 45 | aafDeployPass: demo123456! |
| 46 | fqdn: portal |
| 47 | fqi: portal@portal.onap.org |
| 48 | publicFqdn: portal.onap.org |
| 49 | cadi_latitude: "38.0" |
| 50 | cadi_longitude: "-72.0" |
| 51 | credsPath: /opt/app/osaaf/local |
| 52 | app_ns: org.osaaf.aaf |
| 53 | permission_user: 1000 |
| 54 | permission_group: 999 |
| 55 | addconfig: true |
| 56 | secret_uid: &aaf_secret_uid portal-app-aaf-deploy-creds |
| 57 | keystoreFile: "org.onap.portal.p12" |
| 58 | truststoreFile: "org.onap.portal.trust.jks" |
| 59 | |
| 60 | secrets: |
| 61 | - uid: *aaf_secret_uid |
| 62 | type: basicAuth |
| 63 | externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}' |
| 64 | login: '{{ .Values.aafConfig.aafDeployFqi }}' |
| 65 | password: '{{ .Values.aafConfig.aafDeployPass }}' |
| 66 | passwordPolicy: required |
| 67 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 68 | # default number of instances |
| 69 | replicaCount: 1 |
| 70 | |
| 71 | nodeSelector: {} |
| 72 | |
| 73 | affinity: {} |
| 74 | |
| 75 | # probe configuration parameters |
| 76 | liveness: |
| 77 | initialDelaySeconds: 10 |
| 78 | periodSeconds: 10 |
| 79 | # necessary to disable liveness probe when setting breakpoints |
| 80 | # in debugger so K8s doesn't restart unresponsive container |
| 81 | enabled: true |
| 82 | |
| 83 | readiness: |
| 84 | initialDelaySeconds: 10 |
| 85 | periodSeconds: 10 |
| 86 | |
| 87 | service: |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 88 | type: LoadBalancer |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 89 | name: portal-app |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 90 | portName: portal-app |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 91 | externalPort: 8989 |
| 92 | internalPort: 8080 |
| 93 | nodePort: 15 |
| 94 | externalPort2: 8006 |
| 95 | internalPort2: 8005 |
| 96 | nodePort2: 13 |
| 97 | externalPort3: 8010 |
| 98 | internalPort3: 8009 |
| 99 | nodePort3: 14 |
st782s | bd2c612 | 2018-09-28 17:56:29 -0400 | [diff] [blame] | 100 | externalPort4: 8443 |
| 101 | internalPort4: 8443 |
root | daead43 | 2018-10-04 15:38:18 -0400 | [diff] [blame] | 102 | nodePort4: 25 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 103 | |
| 104 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 105 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 106 | name: portal-db |
| 107 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 108 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 109 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 110 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 111 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 112 | name: portal-cassandra |
| 113 | config: |
| 114 | cassandraUsername: root |
| 115 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 116 | zookeeper: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 117 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 118 | name: portal-zookeeper |
| 119 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 120 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 121 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 122 | |
| 123 | ingress: |
| 124 | enabled: false |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 125 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 126 | - baseaddr: portal.api |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 127 | name: "portal-app" |
| 128 | port: 8443 |
| 129 | config: |
| 130 | ssl: "redirect" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 131 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 132 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 133 | flavor: small |
| 134 | # Segregation for Different environment (Small and Large) |
| 135 | resources: |
| 136 | small: |
| 137 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 138 | cpu: 2.2 |
| 139 | memory: 800Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 140 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 141 | cpu: 30m |
| 142 | memory: 460Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 143 | large: |
| 144 | limits: |
| 145 | cpu: 4 |
| 146 | memory: 15Gi |
| 147 | requests: |
| 148 | cpu: 2 |
| 149 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 150 | unlimited: {} |