Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 1 | # Copyright © 2018 Orange |
Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [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 |
| 21 | readinessRepository: oomk8s |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 25 | mariadbGalera: &mariadbGalera |
| 26 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 27 | localCluster: false |
| 28 | service: mariadb-galera |
| 29 | internalPort: 3306 |
| 30 | nameOverride: mariadb-galera |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 31 | aafAgentImage: onap/aaf/aaf_agent:2.1.15 |
| 32 | aafEnabled: true |
| 33 | busyBoxImage: busybox:1.30 |
| 34 | busyBoxRepository: docker.io |
| 35 | |
| 36 | ################################################################# |
| 37 | # AAF part |
| 38 | ################################################################# |
| 39 | aafConfig: |
| 40 | aafDeployFqi: deployer@people.osaaf.org |
| 41 | aafDeployPass: demo123456! |
| 42 | # aafDeployCredsExternalSecret: some secret |
| 43 | fqdn: nbi |
| 44 | fqi: nbi@nbi.onap.org |
| 45 | public_fqdn: nbi.onap.org |
| 46 | cadi_longitude: "0.0" |
| 47 | cadi_latitude: "0.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 nbi-aaf-deploy-creds |
| 54 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 55 | |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 56 | ################################################################# |
| 57 | # Secrets metaconfig |
| 58 | ################################################################# |
| 59 | secrets: |
| 60 | - uid: nbi-db-secret |
| 61 | name: '{{ include "common.release" . }}-nbi-db-secret' |
| 62 | type: basicAuth |
| 63 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 64 | login: '{{ .Values.config.db.userName }}' |
| 65 | password: '{{ .Values.config.db.userPassword }}' |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 66 | - uid: *aaf_secret_uid |
| 67 | type: basicAuth |
| 68 | externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}' |
| 69 | login: '{{ .Values.aafConfig.aafDeployFqi }}' |
| 70 | password: '{{ .Values.aafConfig.aafDeployPass }}' |
| 71 | passwordPolicy: required |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 72 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 73 | subChartsOnly: |
| 74 | enabled: true |
| 75 | |
| 76 | # application image |
| 77 | repository: nexus3.onap.org:10001 |
aosull01 | 2b09a73 | 2020-04-16 09:32:43 +0100 | [diff] [blame] | 78 | image: onap/externalapi/nbi:6.0.3 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 79 | pullPolicy: IfNotPresent |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 80 | sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 81 | aai_authorization: Basic QUFJOkFBSQ== |
| 82 | so_authorization: |
| 83 | |
| 84 | # application configuration |
| 85 | config: |
| 86 | loglevel: INFO |
| 87 | logstashServiceName: log-ls |
| 88 | logstashPort: 5044 |
| 89 | cloudOwner: CloudOwner |
| 90 | ecompInstanceId: OOM |
| 91 | openStackRegion: RegionOne |
Sylvain Desbureaux | 33f8367 | 2018-06-01 14:28:39 +0200 | [diff] [blame] | 92 | openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 93 | db: |
| 94 | userName: rene |
| 95 | # userPassword: password |
| 96 | # userCredentialsExternalSecret: some-secret |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 97 | |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 98 | mariadb-galera: |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 99 | # '&mariadbConfig' means we "store" the values for later use in the file |
| 100 | # with '*mariadbConfig' pointer. |
| 101 | config: &mariadbConfig |
Krzysztof Opasiak | 8cf46b4 | 2020-02-08 01:07:21 +0100 | [diff] [blame] | 102 | userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret' |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 103 | mysqlDatabase: nbi |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 104 | nameOverride: nbi-galera |
| 105 | service: |
| 106 | name: nbi-galera |
| 107 | portName: nbi-galera |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 108 | internalPort: 3306 |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 109 | replicaCount: 1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 110 | persistence: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 111 | enabled: true |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 112 | mountSubPath: nbi/maria/data |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 113 | |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 114 | mariadb-init: |
| 115 | config: *mariadbConfig |
| 116 | nameOverride: nbi-config |
| 117 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 118 | mongo: |
| 119 | nameOverride: nbi-mongo |
| 120 | config: |
| 121 | dbName: ServiceOrderDB |
| 122 | service: |
| 123 | name: nbi-mongohost |
| 124 | internalPort: 27017 |
| 125 | nfsprovisionerPrefix: nbi |
| 126 | sdnctlPrefix: nbi |
| 127 | persistence: |
| 128 | mountSubPath: nbi/mongo/data |
| 129 | enabled: true |
| 130 | disableNfsProvisioner: true |
| 131 | |
| 132 | |
| 133 | # default number of instances |
| 134 | replicaCount: 1 |
| 135 | |
| 136 | nodeSelector: {} |
| 137 | |
| 138 | affinity: {} |
| 139 | |
| 140 | # probe configuration parameters |
| 141 | liveness: |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 142 | path: /nbi/api/v4/status |
| 143 | port: 8443 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 144 | initialDelaySeconds: 180 |
| 145 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 146 | # necessary to disable liveness probe when setting breakpoints |
| 147 | # in debugger so K8s doesn't restart unresponsive container |
| 148 | enabled: true |
| 149 | |
| 150 | readiness: |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 151 | path: /nbi/api/v4/status |
| 152 | port: 8443 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 153 | initialDelaySeconds: 185 |
| 154 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 155 | |
| 156 | service: |
| 157 | type: NodePort |
| 158 | portName: api |
| 159 | name: nbi |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 160 | nodePort: 74 |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 161 | internalPort: 8443 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 162 | |
| 163 | ingress: |
| 164 | enabled: false |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 165 | service: |
| 166 | - baseaddr: "nbi.api" |
| 167 | name: "nbi" |
| 168 | port: 8443 |
| 169 | config: |
| 170 | ssl: "redirect" |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 171 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 172 | flavor: small |
| 173 | # Segregation for Different environment (Small and Large) |
Eric Debeau | 33774ef | 2018-09-11 12:23:07 +0000 | [diff] [blame] | 174 | resources: |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 175 | small: |
| 176 | limits: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 177 | cpu: 1 |
| 178 | memory: 2Gi |
| 179 | requests: |
| 180 | cpu: 100m |
| 181 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 182 | large: |
| 183 | limits: |
| 184 | cpu: 2 |
| 185 | memory: 4Gi |
| 186 | requests: |
| 187 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 188 | memory: 2Gi |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 189 | unlimited: {} |