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