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: {} |
| 26 | #AAF global config overrides |
| 27 | aafEnabled: true |
| 28 | aafAgentImage: onap/aaf/aaf_agent:2.1.15 |
| 29 | aafAppNs: org.osaaf.aaf |
| 30 | aafLocatorContainer: oom |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 31 | ################################################################# |
| 32 | # Application configuration defaults. |
| 33 | ################################################################# |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 34 | secrets: |
| 35 | - uid: aaf-deploy-creds |
| 36 | type: basicAuth |
| 37 | externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}' |
| 38 | login: '{{ .Values.aafConfig.aafDeployFqi }}' |
| 39 | password: '{{ .Values.aafConfig.aafDeployPass }}' |
| 40 | passwordPolicy: required |
| 41 | |
| 42 | ## Persist cert data to a memory volume |
| 43 | persistence: |
| 44 | aafCredsPath: /opt/app/osaaf/local |
| 45 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 46 | # application image |
| 47 | repository: nexus3.onap.org:10001 |
Welch, Lorraine (lb2391) | 6778510 | 2019-09-18 13:41:36 -0400 | [diff] [blame] | 48 | image: onap/portal-sdk:2.6.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 49 | pullPolicy: Always |
| 50 | |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 51 | #AAF service |
| 52 | aafURL: https://aaf-service:8100/ |
| 53 | aafLocateUrl: https://aaf-locate:8095 |
| 54 | |
| 55 | #AAF local config |
| 56 | aafConfig: |
| 57 | aafDeployFqi: deployer@people.osaaf.org |
| 58 | aafDeployPass: demo123456! |
| 59 | fqdn: portal |
| 60 | fqi: portal@portal.onap.org |
| 61 | publicFqdn: portal.onap.org |
| 62 | cadiLatitude: 0.0 |
| 63 | cadiLongitude: 0.0 |
| 64 | keystoreFile: "org.onap.portal.p12" |
| 65 | truststoreFile: "org.onap.portal.trust.jks" |
| 66 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 67 | # flag to enable debugging - application support required |
| 68 | debugEnabled: false |
| 69 | |
| 70 | # default number of instances |
| 71 | replicaCount: 1 |
| 72 | |
| 73 | nodeSelector: {} |
| 74 | |
| 75 | affinity: {} |
| 76 | |
| 77 | # probe configuration parameters |
| 78 | liveness: |
| 79 | initialDelaySeconds: 10 |
| 80 | periodSeconds: 10 |
| 81 | # necessary to disable liveness probe when setting breakpoints |
| 82 | # in debugger so K8s doesn't restart unresponsive container |
| 83 | enabled: true |
| 84 | |
| 85 | readiness: |
| 86 | initialDelaySeconds: 10 |
| 87 | periodSeconds: 10 |
| 88 | |
| 89 | service: |
hb123f | b53c6a3 | 2018-07-12 14:21:16 -0400 | [diff] [blame] | 90 | type: NodePort |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 91 | name: portal-sdk |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 92 | portName: portal-sdk |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 93 | internalPort: 8443 |
| 94 | externalPort: 8443 |
BorislavG | cdbd3ab | 2018-07-17 08:42:23 +0000 | [diff] [blame] | 95 | nodePort: 12 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 96 | |
| 97 | mariadb: |
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-db |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 100 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 101 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 102 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 103 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 104 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 105 | name: portal-cassandra |
| 106 | config: |
| 107 | cassandraUsername: root |
| 108 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 109 | zookeeper: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 110 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 111 | name: portal-zookeeper |
| 112 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 113 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 114 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 115 | |
| 116 | ingress: |
| 117 | enabled: false |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 118 | service: |
| 119 | - baseaddr: portalsdk |
| 120 | name: "portal-sdk" |
ChrisC | 4993144 | 2020-02-19 09:45:54 +0100 | [diff] [blame] | 121 | port: 8443 |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 122 | config: |
| 123 | ssl: "none" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 124 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 125 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 126 | flavor: small |
| 127 | # Segregation for Different environment (Small and Large) |
| 128 | resources: |
| 129 | small: |
| 130 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 131 | cpu: 600m |
| 132 | memory: 1.6Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 133 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 134 | cpu: 10m |
| 135 | memory: 1.3Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 136 | large: |
| 137 | limits: |
| 138 | cpu: 8 |
| 139 | memory: 20Gi |
| 140 | requests: |
| 141 | cpu: 4 |
| 142 | memory: 10Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 143 | unlimited: {} |