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