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 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 38 | image: onap/optf-osdf:3.0.4 |
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 |
| 86 | # config db api |
krishnaa96 | c1e3e0c | 2020-12-07 12:54:32 +0530 | [diff] [blame] | 87 | configDbUrl: http://configdb:8080 |
| 88 | configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList' |
| 89 | configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList' |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 90 | #aai api |
| 91 | aaiUrl: https://aai:8443 |
| 92 | aaiGetLinksUrl: /aai/v16/network/logical-links |
| 93 | aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/ |
| 94 | aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list |
| 95 | controllerQueryUrl: /aai/v19/query?format=resource |
| 96 | aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up |
| 97 | #des api |
| 98 | desUrl: https://des.url:9000 |
| 99 | desApiPath: /datalake/v1/exposure/ |
krishnaa96 | bdad855 | 2020-11-17 12:52:56 +0530 | [diff] [blame] | 100 | desUsername: '' |
| 101 | desPassword: '' |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 102 | # default number of instances |
| 103 | replicaCount: 1 |
| 104 | nodeSelector: {} |
| 105 | affinity: {} |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 106 | # Resource Limit flavor -By Default using small |
| 107 | flavor: small |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 108 | |
| 109 | #sub-charts configuration |
| 110 | certInitializer: |
| 111 | nameOverride: oof-osdf-cert-initializer |
| 112 | fqdn: "oof.onap" |
| 113 | app_ns: "org.osaaf.aaf" |
| 114 | fqi: "oof@oof.onap.org" |
| 115 | fqi_namespace: org.onap.oof |
| 116 | public_fqdn: "oof.onap.org" |
| 117 | aafDeployFqi: "deployer@people.osaaf.org" |
| 118 | aafDeployPass: demo123456! |
| 119 | cadi_latitude: "0.0" |
| 120 | cadi_longitude: "0.0" |
| 121 | credsPath: /opt/app/osaaf/local |
| 122 | appMountPath: /opt/osdf/osaaf |
| 123 | aaf_add_config: > |
| 124 | chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key; |
| 125 | |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 126 | # Segregation for Different environment (Small and Large) |
| 127 | resources: |
| 128 | small: |
| 129 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 130 | memory: 2Gi |
| 131 | cpu: 1000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 132 | requests: |
| 133 | memory: 1Gi |
| 134 | cpu: 500m |
| 135 | large: |
| 136 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 137 | memory: 4Gi |
| 138 | cpu: 2000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 139 | requests: |
| 140 | memory: 2Gi |
| 141 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 142 | unlimited: {} |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 143 | # probe configuration parameters |
| 144 | liveness: |
| 145 | initialDelaySeconds: 10 |
| 146 | periodSeconds: 10 |
| 147 | # necessary to disable liveness probe when setting breakpoints |
| 148 | # in debugger so K8s doesn't restart unresponsive container |
| 149 | enabled: true |
| 150 | readiness: |
| 151 | initialDelaySeconds: 10 |
| 152 | periodSeconds: 10 |
| 153 | service: |
| 154 | type: NodePort |
| 155 | name: oof-osdf |
| 156 | externalPort: 8698 |
| 157 | internalPort: 8699 |
| 158 | nodePort: 48 |
| 159 | ingress: |
| 160 | enabled: false |
Lucjan Bryndza | e529d75 | 2019-11-28 15:32:42 +0100 | [diff] [blame] | 161 | service: |
| 162 | - baseaddr: "oofosdf" |
| 163 | name: "oof-osdf" |
| 164 | port: 8698 |
| 165 | config: |
Sylvain Desbureaux | a64c46d | 2020-05-06 15:22:29 +0200 | [diff] [blame] | 166 | ssl: "redirect" |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 167 | |
| 168 | #component overrides |
| 169 | |
| 170 | oof-cmso: |
| 171 | enabled: true |
| 172 | oof-has: |
| 173 | enabled: true |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 174 | certSecret: *oof-certs |