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 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 21 | mariadbGalera: &mariadbGalera |
| 22 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 23 | localCluster: false |
| 24 | service: mariadb-galera |
| 25 | internalPort: 3306 |
| 26 | nameOverride: mariadb-galera |
Andreas Geissler | 638330d | 2023-03-20 15:24:36 +0100 | [diff] [blame] | 27 | msbEnabled: false |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 28 | |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 29 | ################################################################# |
| 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: nbi-db-secret |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 34 | name: &dbUserSecretName '{{ include "common.release" . }}-nbi-db-secret' |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 35 | type: basicAuth |
| 36 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 37 | login: '{{ .Values.config.db.userName }}' |
| 38 | password: '{{ .Values.config.db.userPassword }}' |
| 39 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 40 | subChartsOnly: |
| 41 | enabled: true |
| 42 | |
| 43 | # application image |
| 44 | repository: nexus3.onap.org:10001 |
Eric Debeau | c45c81f | 2022-05-10 12:05:12 +0200 | [diff] [blame] | 45 | image: onap/externalapi/nbi:10.0.0 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 46 | pullPolicy: IfNotPresent |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 47 | sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 48 | aai_authorization: Basic QUFJOkFBSQ== |
| 49 | so_authorization: |
| 50 | |
| 51 | # application configuration |
| 52 | config: |
| 53 | loglevel: INFO |
| 54 | logstashServiceName: log-ls |
| 55 | logstashPort: 5044 |
| 56 | cloudOwner: CloudOwner |
aleemraja | 40149d8 | 2020-10-16 17:48:17 +0530 | [diff] [blame] | 57 | k8sCloudRegionId: k8sregionfour |
| 58 | k8sCloudOwner: k8scloudowner4 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 59 | ecompInstanceId: OOM |
| 60 | openStackRegion: RegionOne |
Sylvain Desbureaux | 33f8367 | 2018-06-01 14:28:39 +0200 | [diff] [blame] | 61 | openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 62 | db: |
| 63 | userName: rene |
| 64 | # userPassword: password |
| 65 | # userCredentialsExternalSecret: some-secret |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 66 | |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 67 | mariadb-galera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 68 | db: |
| 69 | externalSecret: *dbUserSecretName |
| 70 | name: &mysqlDbName nbi |
andreasgeissler | b15b095 | 2021-06-10 16:21:09 +0200 | [diff] [blame] | 71 | service: |
| 72 | name: nbi-galera |
| 73 | portName: nbi-galera |
| 74 | internalPort: 3306 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 75 | nameOverride: &nbi-galera nbi-galera |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 76 | replicaCount: 1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 77 | persistence: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 78 | enabled: true |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 79 | mountSubPath: nbi/maria/data |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 80 | serviceAccount: |
| 81 | nameOverride: *nbi-galera |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 82 | |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 83 | mariadb-init: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 84 | config: |
| 85 | userCredentialsExternalSecret: *dbUserSecretName |
| 86 | mysqlDatabase: *mysqlDbName |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 87 | nameOverride: nbi-config |
| 88 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 89 | mongo: |
| 90 | nameOverride: nbi-mongo |
| 91 | config: |
| 92 | dbName: ServiceOrderDB |
| 93 | service: |
| 94 | name: nbi-mongohost |
| 95 | internalPort: 27017 |
| 96 | nfsprovisionerPrefix: nbi |
| 97 | sdnctlPrefix: nbi |
| 98 | persistence: |
| 99 | mountSubPath: nbi/mongo/data |
| 100 | enabled: true |
| 101 | disableNfsProvisioner: true |
| 102 | |
| 103 | |
| 104 | # default number of instances |
| 105 | replicaCount: 1 |
| 106 | |
| 107 | nodeSelector: {} |
| 108 | |
| 109 | affinity: {} |
| 110 | |
| 111 | # probe configuration parameters |
| 112 | liveness: |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 113 | path: /nbi/api/v4/status |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 114 | initialDelaySeconds: 180 |
| 115 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 116 | # necessary to disable liveness probe when setting breakpoints |
| 117 | # in debugger so K8s doesn't restart unresponsive container |
| 118 | enabled: true |
| 119 | |
| 120 | readiness: |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 121 | path: /nbi/api/v4/status |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 122 | initialDelaySeconds: 185 |
| 123 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 124 | |
| 125 | service: |
| 126 | type: NodePort |
| 127 | portName: api |
| 128 | name: nbi |
Andreas Geissler | 638330d | 2023-03-20 15:24:36 +0100 | [diff] [blame] | 129 | internalPort: 8080 |
Andreas Geissler | b19c851 | 2022-10-13 13:15:29 +0200 | [diff] [blame] | 130 | ports: |
| 131 | - name: http |
Andreas Geissler | 638330d | 2023-03-20 15:24:36 +0100 | [diff] [blame] | 132 | port: 8080 |
Andreas Geissler | b19c851 | 2022-10-13 13:15:29 +0200 | [diff] [blame] | 133 | nodePort: '74' |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 134 | |
| 135 | ingress: |
| 136 | enabled: false |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 137 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 138 | - baseaddr: "nbi-api" |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 139 | name: "nbi" |
Andreas Geissler | 638330d | 2023-03-20 15:24:36 +0100 | [diff] [blame] | 140 | port: 8080 |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 141 | config: |
| 142 | ssl: "redirect" |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 143 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 144 | flavor: small |
| 145 | # Segregation for Different environment (Small and Large) |
Eric Debeau | 33774ef | 2018-09-11 12:23:07 +0000 | [diff] [blame] | 146 | resources: |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 147 | small: |
| 148 | limits: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 149 | cpu: 1 |
| 150 | memory: 2Gi |
| 151 | requests: |
| 152 | cpu: 100m |
| 153 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 154 | large: |
| 155 | limits: |
| 156 | cpu: 2 |
| 157 | memory: 4Gi |
| 158 | requests: |
| 159 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 160 | memory: 2Gi |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 161 | unlimited: {} |
farida azmy | 37c9876 | 2021-10-18 13:06:52 +0200 | [diff] [blame] | 162 | |
| 163 | #Pods Service Account |
| 164 | serviceAccount: |
| 165 | nameOverride: nbi |
| 166 | roles: |
| 167 | - read |