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