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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 23 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 24 | loggingRepository: docker.elastic.co |
| 25 | loggingImage: beats/filebeat:5.5.0 |
Sandeep Shah | 2ffb1ba | 2020-09-01 21:13:16 -0500 | [diff] [blame] | 26 | envsubstImage: dibi/envsubst |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 27 | #AAF service |
| 28 | aafEnabled: true |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 29 | |
Sandeep Shah | 2ffb1ba | 2020-09-01 21:13:16 -0500 | [diff] [blame] | 30 | ################################################################ |
| 31 | # Secrets metaconfig |
| 32 | ################################################################# |
| 33 | |
| 34 | secrets: |
| 35 | - uid: portal-cass |
| 36 | type: basicAuth |
| 37 | externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}' |
| 38 | login: '{{ .Values.cassandra.config.cassandraUsername }}' |
| 39 | password: '{{ .Values.cassandra.config.cassandraPassword }}' |
| 40 | passwordPolicy: required |
| 41 | - uid: cipher-enc-key |
| 42 | type: password |
| 43 | externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}' |
| 44 | password: '{{ .Values.config.cipherEncKey }}' |
| 45 | passwordPolicy: required |
Sandeep Shah | d6b989d | 2020-09-25 15:53:18 -0500 | [diff] [blame] | 46 | - uid: portal-backend-db |
| 47 | type: basicAuth |
| 48 | externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}' |
| 49 | login: '{{ .Values.mariadb.config.backendUserName }}' |
| 50 | password: '{{ .Values.mariadb.config.backendPassword }}' |
| 51 | passwordPolicy: required |
Sandeep Shah | 2ffb1ba | 2020-09-01 21:13:16 -0500 | [diff] [blame] | 52 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 53 | ################################################################# |
| 54 | # Application configuration defaults. |
| 55 | ################################################################# |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 56 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 57 | # application image |
| 58 | repository: nexus3.onap.org:10001 |
Sandeep Shah | 3d56552 | 2020-10-03 23:09:58 -0500 | [diff] [blame^] | 59 | image: onap/portal-app:3.4.1 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 60 | pullPolicy: Always |
| 61 | |
Sandeep Shah | 2ffb1ba | 2020-09-01 21:13:16 -0500 | [diff] [blame] | 62 | # application configuration |
| 63 | config: |
| 64 | # cipherEncKeyExternalSecret: some secret |
| 65 | cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==! |
| 66 | |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 67 | #AAF local config |
| 68 | |
ChrisC | 5392994 | 2020-05-04 12:43:34 +0200 | [diff] [blame] | 69 | aafURL: https://aaf-service:8100/authz/ |
Krzysztof Opasiak | 57ec338 | 2020-05-21 19:06:42 +0200 | [diff] [blame] | 70 | certInitializer: |
| 71 | nameOverride: portal-app-cert-initializer |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 72 | aafDeployFqi: deployer@people.osaaf.org |
| 73 | aafDeployPass: demo123456! |
| 74 | fqdn: portal |
| 75 | fqi: portal@portal.onap.org |
Krzysztof Opasiak | 57ec338 | 2020-05-21 19:06:42 +0200 | [diff] [blame] | 76 | public_fqdn: portal.onap.org |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 77 | cadi_latitude: "38.0" |
| 78 | cadi_longitude: "-72.0" |
| 79 | credsPath: /opt/app/osaaf/local |
| 80 | app_ns: org.osaaf.aaf |
| 81 | permission_user: 1000 |
| 82 | permission_group: 999 |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 83 | keystoreFile: "org.onap.portal.p12" |
| 84 | truststoreFile: "org.onap.portal.trust.jks" |
Krzysztof Opasiak | 57ec338 | 2020-05-21 19:06:42 +0200 | [diff] [blame] | 85 | aaf_add_config: > |
| 86 | /opt/app/aaf_config/bin/agent.sh; |
| 87 | /opt/app/aaf_config/bin/agent.sh local showpass \ |
| 88 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 89 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 90 | # default number of instances |
| 91 | replicaCount: 1 |
| 92 | |
| 93 | nodeSelector: {} |
| 94 | |
| 95 | affinity: {} |
| 96 | |
| 97 | # probe configuration parameters |
| 98 | liveness: |
| 99 | initialDelaySeconds: 10 |
| 100 | periodSeconds: 10 |
| 101 | # necessary to disable liveness probe when setting breakpoints |
| 102 | # in debugger so K8s doesn't restart unresponsive container |
| 103 | enabled: true |
| 104 | |
| 105 | readiness: |
| 106 | initialDelaySeconds: 10 |
| 107 | periodSeconds: 10 |
| 108 | |
| 109 | service: |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 110 | type: LoadBalancer |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 111 | name: portal-app |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 112 | portName: portal-app |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 113 | externalPort: 8989 |
| 114 | internalPort: 8080 |
| 115 | nodePort: 15 |
| 116 | externalPort2: 8006 |
| 117 | internalPort2: 8005 |
| 118 | nodePort2: 13 |
| 119 | externalPort3: 8010 |
| 120 | internalPort3: 8009 |
| 121 | nodePort3: 14 |
st782s | bd2c612 | 2018-09-28 17:56:29 -0400 | [diff] [blame] | 122 | externalPort4: 8443 |
| 123 | internalPort4: 8443 |
root | daead43 | 2018-10-04 15:38:18 -0400 | [diff] [blame] | 124 | nodePort4: 25 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 125 | |
| 126 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 127 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 128 | name: portal-db |
Sandeep Shah | d6b989d | 2020-09-25 15:53:18 -0500 | [diff] [blame] | 129 | config: |
| 130 | # backendDbExternalSecret: some secret |
| 131 | backendUserName: portal |
| 132 | backendPassword: portal |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 133 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 134 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 135 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 136 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 137 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 138 | name: portal-cassandra |
| 139 | config: |
Sandeep Shah | 2ffb1ba | 2020-09-01 21:13:16 -0500 | [diff] [blame] | 140 | # cassandraExternalSecret: some secret |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 141 | cassandraUsername: root |
| 142 | cassandraPassword: Aa123456 |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 143 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 144 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 145 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 146 | |
| 147 | ingress: |
| 148 | enabled: false |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 149 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 150 | - baseaddr: portal.api |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 151 | name: "portal-app" |
| 152 | port: 8443 |
| 153 | config: |
| 154 | ssl: "redirect" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 155 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 156 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 157 | flavor: small |
| 158 | # Segregation for Different environment (Small and Large) |
| 159 | resources: |
| 160 | small: |
| 161 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 162 | cpu: 2.2 |
| 163 | memory: 800Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 164 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 165 | cpu: 30m |
| 166 | memory: 460Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 167 | large: |
| 168 | limits: |
| 169 | cpu: 4 |
| 170 | memory: 15Gi |
| 171 | requests: |
| 172 | cpu: 2 |
| 173 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 174 | unlimited: {} |