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 | ################################################################# |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 26 | image: onap/optf-osdf:3.0.8 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # flag to enable debugging - application support required |
| 30 | debugEnabled: false |
| 31 | |
| 32 | # application configuration |
| 33 | config: |
Patel, Ankitkumar | d4b37e2 | 2018-05-29 16:56:30 -0400 | [diff] [blame] | 34 | msbgateway: msb-iag |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 35 | msbPort: 80 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 36 | placementVersioningEnabled: True |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 37 | # Placement API latest version numbers to be set in HTTP header |
| 38 | placementMajorVersion: "1" |
| 39 | placementMinorVersion: "0" |
| 40 | placementPatchVersion: "0" |
| 41 | # Placement API default version numbers to be set in HTTP header |
| 42 | placementDefaultMajorVersion: "1" |
| 43 | placementDefaultMinorVersion: "0" |
| 44 | placementDefaultPatchVersion: "0" |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 45 | |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 46 | # Url and credentials for Conductor. |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 47 | conductorUrl: |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 48 | http: http://oof-has-api:8091/v1/plans/ |
vrvarma | 96294cd | 2020-05-25 12:36:54 -0400 | [diff] [blame] | 49 | conductorPingWaitTime: 10 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 50 | conductorMaxRetries: 30 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 51 | # versions to be set in HTTP header |
| 52 | conductorMinorVersion: 0 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 53 | # Url and credentials for the Policy Platform |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 54 | policyPlatformUrl: |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 55 | http: http://policy-xacml-pdp:8080/policy/pdpx/v1/decision |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 56 | policyPlatformEnv: TEST # Environment for policy platform |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 57 | # Credentials for the message reader - A placeholder. |
| 58 | messageReaderHosts: NA |
| 59 | messageReaderTopic: NA |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 60 | # Credentials for the SDC interface - A placeholder. |
| 61 | sdcUrl: NA |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 62 | sdcONAPInstanceID: NA |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 63 | |
krishnaa96 | 07fc3ea | 2021-08-02 11:19:16 +0530 | [diff] [blame] | 64 | configClientType: cps |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 65 | |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 66 | # config db api |
krishnaa96 | c1e3e0c | 2020-12-07 12:54:32 +0530 | [diff] [blame] | 67 | configDbUrl: http://configdb:8080 |
| 68 | configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList' |
| 69 | configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList' |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 70 | |
krishnaa96 | 07fc3ea | 2021-08-02 11:19:16 +0530 | [diff] [blame] | 71 | # cps api |
| 72 | cps: |
| 73 | url: cps-tbdmt:8080/execute |
| 74 | cellListUrl: 'ran-network/getCellList' |
| 75 | nbrListUrl: 'ran-network/getNbrList' |
| 76 | |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 77 | #aai api |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 78 | aaiUrl: |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 79 | http: http://aai:80 |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 80 | aaiGetLinksUrl: /aai/v16/network/logical-links |
| 81 | aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/ |
| 82 | aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list |
| 83 | controllerQueryUrl: /aai/v19/query?format=resource |
| 84 | aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up |
| 85 | #des api |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 86 | desUrl: |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 87 | http: http://des.url:8080 |
krishnaa96 | dd54b96 | 2020-09-21 14:52:16 +0530 | [diff] [blame] | 88 | desApiPath: /datalake/v1/exposure/ |
krishnaa96 | bdad855 | 2020-11-17 12:52:56 +0530 | [diff] [blame] | 89 | desUsername: '' |
| 90 | desPassword: '' |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 91 | # default number of instances |
| 92 | replicaCount: 1 |
| 93 | nodeSelector: {} |
| 94 | affinity: {} |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 95 | # Resource Limit flavor -By Default using small |
| 96 | flavor: small |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 97 | |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 98 | # Segregation for Different environment (Small and Large) |
| 99 | resources: |
| 100 | small: |
| 101 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 102 | cpu: "1" |
| 103 | memory: "1Gi" |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 104 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 105 | cpu: "0.5" |
| 106 | memory: "1Gi" |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 107 | large: |
| 108 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 109 | cpu: "2" |
| 110 | memory: "2Gi" |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 111 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 112 | cpu: "1" |
| 113 | memory: "2Gi" |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 114 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 115 | unlimited: {} |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 116 | # probe configuration parameters |
| 117 | liveness: |
| 118 | initialDelaySeconds: 10 |
| 119 | periodSeconds: 10 |
| 120 | # necessary to disable liveness probe when setting breakpoints |
| 121 | # in debugger so K8s doesn't restart unresponsive container |
| 122 | enabled: true |
| 123 | readiness: |
| 124 | initialDelaySeconds: 10 |
| 125 | periodSeconds: 10 |
| 126 | service: |
| 127 | type: NodePort |
| 128 | name: oof-osdf |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 129 | internalPort: 8699 |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 130 | ports: |
| 131 | - name: http |
| 132 | port: 8698 |
| 133 | nodePort: '48' |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 134 | ingress: |
| 135 | enabled: false |
Lucjan Bryndza | e529d75 | 2019-11-28 15:32:42 +0100 | [diff] [blame] | 136 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 137 | - baseaddr: "oof-osdf-api" |
Lucjan Bryndza | e529d75 | 2019-11-28 15:32:42 +0100 | [diff] [blame] | 138 | name: "oof-osdf" |
| 139 | port: 8698 |
| 140 | config: |
Sylvain Desbureaux | a64c46d | 2020-05-06 15:22:29 +0200 | [diff] [blame] | 141 | ssl: "redirect" |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 142 | |
| 143 | #component overrides |
| 144 | |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 145 | oof-has: |
| 146 | enabled: true |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 147 | |
| 148 | readinessCheck: |
| 149 | wait_for: |
| 150 | - policy-xacml-pdp |
farida azmy | b3e25ca | 2021-10-27 15:56:35 +0200 | [diff] [blame] | 151 | |
| 152 | #Pods Service Account |
| 153 | serviceAccount: |
| 154 | nameOverride: oof |
| 155 | roles: |
| 156 | - read |