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