Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Sylvain Desbureaux | b7ed2ee | 2019-11-29 11:35:13 +0100 | [diff] [blame] | 20 | persistence: {} |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Secrets metaconfig |
| 24 | ################################################################# |
| 25 | secrets: |
| 26 | - uid: oof-onap-certs |
| 27 | name: &oof-certs '{{ include "common.release" . }}-oof-onap-certs' |
| 28 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 29 | type: generic |
| 30 | filePaths: |
| 31 | - resources/config/certs/intermediate_root_ca.pem |
| 32 | - resources/config/certs/aaf_root_ca.cer |
| 33 | |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 34 | ################################################################# |
| 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
krishnaa96 | 07fc3ea | 2021-08-02 11:19:16 +0530 | [diff] [blame] | 38 | image: onap/optf-osdf:3.0.6 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 39 | pullPolicy: Always |
| 40 | |
| 41 | # flag to enable debugging - application support required |
| 42 | debugEnabled: false |
| 43 | |
| 44 | # application configuration |
| 45 | config: |
Patel, Ankitkumar | d4b37e2 | 2018-05-29 16:56:30 -0400 | [diff] [blame] | 46 | msbgateway: msb-iag |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 47 | msbPort: 80 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 48 | placementVersioningEnabled: True |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 49 | # Placement API latest version numbers to be set in HTTP header |
| 50 | placementMajorVersion: "1" |
| 51 | placementMinorVersion: "0" |
| 52 | placementPatchVersion: "0" |
| 53 | # Placement API default version numbers to be set in HTTP header |
| 54 | placementDefaultMajorVersion: "1" |
| 55 | placementDefaultMinorVersion: "0" |
| 56 | placementDefaultPatchVersion: "0" |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 57 | |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 58 | # Url and credentials for Conductor. |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 59 | conductorUrl: https://oof-has-api:8091/v1/plans/ |
vrvarma | 96294cd | 2020-05-25 12:36:54 -0400 | [diff] [blame] | 60 | conductorPingWaitTime: 10 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 61 | conductorMaxRetries: 30 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 62 | # versions to be set in HTTP header |
| 63 | conductorMinorVersion: 0 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 64 | # Url and credentials for the Policy Platform |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 65 | policyPlatformUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision # Policy Dev platform URL |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 66 | policyPlatformEnv: TEST # Environment for policy platform |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 67 | # Credentials for the message reader - A placeholder. |
| 68 | messageReaderHosts: NA |
| 69 | messageReaderTopic: NA |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 70 | # Credentials for the SDC interface - A placeholder. |
| 71 | sdcUrl: NA |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 72 | sdcONAPInstanceID: NA |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 73 | #AAF Authentication |
| 74 | is_aaf_enabled: False |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 75 | aaf_cache_expiry_mins: 5 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 76 | aaf_url: https://aaf-service:8100 |
| 77 | aaf_user_roles: |
vrvarma | 8f50049 | 2019-04-25 23:08:01 -0400 | [diff] [blame] | 78 | - '/placement:org.onap.oof.access|*|read ALL' |
| 79 | - '/pci:org.onap.oof.access|*|read ALL' |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 80 | # Secret Management Service from AAF |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 81 | aaf_sms_url: https://aaf-sms |
| 82 | aaf_sms_port: 10443 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 83 | aaf_sms_timeout: 30 |
| 84 | secret_domain: osdf |
| 85 | aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer |
krishnaa96 | 07fc3ea | 2021-08-02 11:19:16 +0530 | [diff] [blame] | 86 | configClientType: cps |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 87 | # config db api |
krishnaa96 | c1e3e0c | 2020-12-07 12:54:32 +0530 | [diff] [blame] | 88 | configDbUrl: http://configdb:8080 |
| 89 | configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList' |
| 90 | configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList' |
krishnaa96 | 07fc3ea | 2021-08-02 11:19:16 +0530 | [diff] [blame] | 91 | # cps api |
| 92 | cps: |
| 93 | url: cps-tbdmt:8080/execute |
| 94 | cellListUrl: 'ran-network/getCellList' |
| 95 | nbrListUrl: 'ran-network/getNbrList' |
| 96 | |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 97 | #aai api |
| 98 | aaiUrl: https://aai:8443 |
| 99 | aaiGetLinksUrl: /aai/v16/network/logical-links |
| 100 | aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/ |
| 101 | aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list |
| 102 | controllerQueryUrl: /aai/v19/query?format=resource |
| 103 | aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up |
| 104 | #des api |
| 105 | desUrl: https://des.url:9000 |
| 106 | desApiPath: /datalake/v1/exposure/ |
krishnaa96 | bdad855 | 2020-11-17 12:52:56 +0530 | [diff] [blame] | 107 | desUsername: '' |
| 108 | desPassword: '' |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 109 | # default number of instances |
| 110 | replicaCount: 1 |
| 111 | nodeSelector: {} |
| 112 | affinity: {} |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 113 | # Resource Limit flavor -By Default using small |
| 114 | flavor: small |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 115 | |
| 116 | #sub-charts configuration |
| 117 | certInitializer: |
| 118 | nameOverride: oof-osdf-cert-initializer |
| 119 | fqdn: "oof.onap" |
| 120 | app_ns: "org.osaaf.aaf" |
| 121 | fqi: "oof@oof.onap.org" |
| 122 | fqi_namespace: org.onap.oof |
| 123 | public_fqdn: "oof.onap.org" |
| 124 | aafDeployFqi: "deployer@people.osaaf.org" |
| 125 | aafDeployPass: demo123456! |
| 126 | cadi_latitude: "0.0" |
| 127 | cadi_longitude: "0.0" |
| 128 | credsPath: /opt/app/osaaf/local |
| 129 | appMountPath: /opt/osdf/osaaf |
| 130 | aaf_add_config: > |
| 131 | chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key; |
| 132 | |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 133 | # Segregation for Different environment (Small and Large) |
| 134 | resources: |
| 135 | small: |
| 136 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 137 | memory: 2Gi |
| 138 | cpu: 1000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 139 | requests: |
| 140 | memory: 1Gi |
| 141 | cpu: 500m |
| 142 | large: |
| 143 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 144 | memory: 4Gi |
| 145 | cpu: 2000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 146 | requests: |
| 147 | memory: 2Gi |
| 148 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 149 | unlimited: {} |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 150 | # probe configuration parameters |
| 151 | liveness: |
| 152 | initialDelaySeconds: 10 |
| 153 | periodSeconds: 10 |
| 154 | # necessary to disable liveness probe when setting breakpoints |
| 155 | # in debugger so K8s doesn't restart unresponsive container |
| 156 | enabled: true |
| 157 | readiness: |
| 158 | initialDelaySeconds: 10 |
| 159 | periodSeconds: 10 |
| 160 | service: |
| 161 | type: NodePort |
| 162 | name: oof-osdf |
| 163 | externalPort: 8698 |
| 164 | internalPort: 8699 |
| 165 | nodePort: 48 |
| 166 | ingress: |
| 167 | enabled: false |
Lucjan Bryndza | e529d75 | 2019-11-28 15:32:42 +0100 | [diff] [blame] | 168 | service: |
| 169 | - baseaddr: "oofosdf" |
| 170 | name: "oof-osdf" |
| 171 | port: 8698 |
| 172 | config: |
Sylvain Desbureaux | a64c46d | 2020-05-06 15:22:29 +0200 | [diff] [blame] | 173 | ssl: "redirect" |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 174 | |
| 175 | #component overrides |
| 176 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 177 | oof-has: |
| 178 | enabled: true |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 179 | certSecret: *oof-certs |