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 | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 31 | |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 32 | ################################################################# |
| 33 | # Secrets metaconfig |
| 34 | ################################################################# |
| 35 | secrets: |
| 36 | - uid: nbi-db-secret |
| 37 | name: '{{ include "common.release" . }}-nbi-db-secret' |
| 38 | type: basicAuth |
| 39 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 40 | login: '{{ .Values.config.db.userName }}' |
| 41 | password: '{{ .Values.config.db.userPassword }}' |
| 42 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 43 | subChartsOnly: |
| 44 | enabled: true |
| 45 | |
| 46 | # application image |
| 47 | repository: nexus3.onap.org:10001 |
aosull01 | 9d08724 | 2019-09-09 09:31:54 +0100 | [diff] [blame] | 48 | image: onap/externalapi/nbi:5.0.1 |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 49 | pullPolicy: IfNotPresent |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 50 | sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= |
| 51 | aai_authorization: Basic QUFJOkFBSQ== |
| 52 | so_authorization: |
| 53 | |
| 54 | # application configuration |
| 55 | config: |
| 56 | loglevel: INFO |
| 57 | logstashServiceName: log-ls |
| 58 | logstashPort: 5044 |
| 59 | cloudOwner: CloudOwner |
| 60 | ecompInstanceId: OOM |
| 61 | openStackRegion: RegionOne |
Sylvain Desbureaux | 33f8367 | 2018-06-01 14:28:39 +0200 | [diff] [blame] | 62 | openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 63 | db: |
| 64 | userName: rene |
| 65 | # userPassword: password |
| 66 | # userCredentialsExternalSecret: some-secret |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 67 | |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 68 | mariadb-galera: |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 69 | # '&mariadbConfig' means we "store" the values for later use in the file |
| 70 | # with '*mariadbConfig' pointer. |
| 71 | config: &mariadbConfig |
Krzysztof Opasiak | 8cf46b4 | 2020-02-08 01:07:21 +0100 | [diff] [blame] | 72 | userCredentialsExternalSecret: '{{ include "common.release" . }}-nbi-db-secret' |
Krzysztof Opasiak | e383b32 | 2020-02-07 15:49:54 +0100 | [diff] [blame] | 73 | mysqlDatabase: nbi |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 74 | nameOverride: nbi-galera |
| 75 | service: |
| 76 | name: nbi-galera |
| 77 | portName: nbi-galera |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 78 | internalPort: 3306 |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 79 | replicaCount: 1 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 80 | persistence: |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 81 | enabled: true |
Sylvain Desbureaux | 9e851c6 | 2019-10-28 15:52:05 +0100 | [diff] [blame] | 82 | mountSubPath: nbi/maria/data |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 83 | |
Sylvain Desbureaux | 1d061a4 | 2019-11-08 15:27:20 +0100 | [diff] [blame] | 84 | mariadb-init: |
| 85 | config: *mariadbConfig |
| 86 | nameOverride: nbi-config |
| 87 | |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 88 | mongo: |
| 89 | nameOverride: nbi-mongo |
| 90 | config: |
| 91 | dbName: ServiceOrderDB |
| 92 | service: |
| 93 | name: nbi-mongohost |
| 94 | internalPort: 27017 |
| 95 | nfsprovisionerPrefix: nbi |
| 96 | sdnctlPrefix: nbi |
| 97 | persistence: |
| 98 | mountSubPath: nbi/mongo/data |
| 99 | enabled: true |
| 100 | disableNfsProvisioner: true |
| 101 | |
| 102 | |
| 103 | # default number of instances |
| 104 | replicaCount: 1 |
| 105 | |
| 106 | nodeSelector: {} |
| 107 | |
| 108 | affinity: {} |
| 109 | |
| 110 | # probe configuration parameters |
| 111 | liveness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 112 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 113 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 114 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 115 | initialDelaySeconds: 180 |
| 116 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 117 | # necessary to disable liveness probe when setting breakpoints |
| 118 | # in debugger so K8s doesn't restart unresponsive container |
| 119 | enabled: true |
| 120 | |
| 121 | readiness: |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 122 | httpGet: |
MatthieuGeerebaert | 33be15d | 2019-04-04 11:20:34 +0200 | [diff] [blame] | 123 | path: /nbi/api/v4/status |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 124 | port: 8080 |
MatthieuGeerebaert | 89e3dc8 | 2018-10-08 14:02:08 +0200 | [diff] [blame] | 125 | initialDelaySeconds: 185 |
| 126 | periodSeconds: 30 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 127 | |
| 128 | service: |
| 129 | type: NodePort |
| 130 | portName: api |
| 131 | name: nbi |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 132 | nodePort: 74 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 133 | internalPort: 8080 |
| 134 | |
| 135 | ingress: |
| 136 | enabled: false |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 137 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 138 | flavor: small |
| 139 | # Segregation for Different environment (Small and Large) |
Eric Debeau | 33774ef | 2018-09-11 12:23:07 +0000 | [diff] [blame] | 140 | resources: |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 141 | small: |
| 142 | limits: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 143 | cpu: 1 |
| 144 | memory: 2Gi |
| 145 | requests: |
| 146 | cpu: 100m |
| 147 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 148 | large: |
| 149 | limits: |
| 150 | cpu: 2 |
| 151 | memory: 4Gi |
| 152 | requests: |
| 153 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 154 | memory: 2Gi |
MatthieuGeerebaert | a3adffd | 2018-10-05 14:52:50 +0200 | [diff] [blame] | 155 | unlimited: {} |