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: |
| 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 | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 25 | persistence: {} |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 26 | #AAF service |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 27 | aafEnabled: true |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 28 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 29 | ################################################################# |
| 30 | # Application configuration defaults. |
| 31 | ################################################################# |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 32 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 33 | # application image |
| 34 | repository: nexus3.onap.org:10001 |
Welch, Lorraine (lb2391) | 6778510 | 2019-09-18 13:41:36 -0400 | [diff] [blame] | 35 | image: onap/portal-sdk:2.6.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 36 | pullPolicy: Always |
| 37 | |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 38 | #AAF local config |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 39 | aafURL: https://aaf-service:8100/ |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 40 | aafConfig: |
| 41 | aafDeployFqi: deployer@people.osaaf.org |
| 42 | aafDeployPass: demo123456! |
| 43 | fqdn: portal |
| 44 | fqi: portal@portal.onap.org |
| 45 | publicFqdn: portal.onap.org |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 46 | cadi_latitude: "38.0" |
| 47 | cadi_longitude: "-72.0" |
| 48 | credsPath: /opt/app/osaaf/local |
| 49 | app_ns: org.osaaf.aaf |
| 50 | permission_user: 1000 |
| 51 | permission_group: 999 |
| 52 | addconfig: true |
| 53 | secret_uid: &aaf_secret_uid portal-sdk-aaf-deploy-creds |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 54 | keystoreFile: "org.onap.portal.p12" |
| 55 | truststoreFile: "org.onap.portal.trust.jks" |
| 56 | |
ChrisC | 019b59c | 2020-04-03 13:58:44 +0200 | [diff] [blame] | 57 | secrets: |
| 58 | - uid: *aaf_secret_uid |
| 59 | type: basicAuth |
| 60 | externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}' |
| 61 | login: '{{ .Values.aafConfig.aafDeployFqi }}' |
| 62 | password: '{{ .Values.aafConfig.aafDeployPass }}' |
| 63 | passwordPolicy: required |
| 64 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 65 | # flag to enable debugging - application support required |
| 66 | debugEnabled: false |
| 67 | |
| 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: |
hb123f | b53c6a3 | 2018-07-12 14:21:16 -0400 | [diff] [blame] | 88 | type: NodePort |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 89 | name: portal-sdk |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 90 | portName: portal-sdk |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 91 | internalPort: 8443 |
| 92 | externalPort: 8443 |
BorislavG | cdbd3ab | 2018-07-17 08:42:23 +0000 | [diff] [blame] | 93 | nodePort: 12 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 94 | |
| 95 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 96 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 97 | name: portal-db |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 98 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 99 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 100 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 101 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 102 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 103 | name: portal-cassandra |
| 104 | config: |
| 105 | cassandraUsername: root |
| 106 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 107 | zookeeper: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 108 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 109 | name: portal-zookeeper |
| 110 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 111 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 112 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 113 | |
| 114 | ingress: |
| 115 | enabled: false |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 116 | service: |
| 117 | - baseaddr: portalsdk |
| 118 | name: "portal-sdk" |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 119 | port: 8443 |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 120 | config: |
| 121 | ssl: "none" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 122 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 123 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 124 | flavor: small |
| 125 | # Segregation for Different environment (Small and Large) |
| 126 | resources: |
| 127 | small: |
| 128 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 129 | cpu: 600m |
| 130 | memory: 1.6Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 131 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 132 | cpu: 10m |
| 133 | memory: 1.3Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 134 | large: |
| 135 | limits: |
| 136 | cpu: 8 |
| 137 | memory: 20Gi |
| 138 | requests: |
| 139 | cpu: 4 |
| 140 | memory: 10Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 141 | unlimited: {} |