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 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 20 | readinessRepository: oomk8s |
Gary Wu | bf4b4d8 | 2018-05-11 13:26:30 -0700 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | ################################################################# |
| 25 | # Application configuration defaults. |
| 26 | ################################################################# |
| 27 | # application image |
| 28 | repository: nexus3.onap.org:10001 |
Ikramullah, Ikram | 6cde0b3 | 2019-04-24 22:24:08 +0000 | [diff] [blame] | 29 | image: onap/optf-osdf:1.3.0-SNAPSHOT-latest |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
| 32 | # flag to enable debugging - application support required |
| 33 | debugEnabled: false |
| 34 | |
| 35 | # application configuration |
| 36 | config: |
Patel, Ankitkumar | d4b37e2 | 2018-05-29 16:56:30 -0400 | [diff] [blame] | 37 | msbgateway: msb-iag |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 38 | msbPort: 80 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 39 | placementVersioningEnabled: True |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 40 | # Placement API latest version numbers to be set in HTTP header |
| 41 | placementMajorVersion: "1" |
| 42 | placementMinorVersion: "0" |
| 43 | placementPatchVersion: "0" |
| 44 | # Placement API default version numbers to be set in HTTP header |
| 45 | placementDefaultMajorVersion: "1" |
| 46 | placementDefaultMinorVersion: "0" |
| 47 | placementDefaultPatchVersion: "0" |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 48 | # Credentials of the callback url for SO. |
| 49 | soUsername: "" # SO username for call back. |
| 50 | soPassword: "" # SO password for call back. |
| 51 | # Url and credentials for Conductor. |
Patel, Ankitkumar | d4b37e2 | 2018-05-29 16:56:30 -0400 | [diff] [blame] | 52 | conductorUrl: http://oof-has-api:8091/v1/plans/ |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 53 | conductorUsername: admin1 |
| 54 | conductorPassword: plan.15 |
| 55 | conductorPingWaitTime: 60 |
| 56 | conductorMaxRetries: 30 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 57 | # versions to be set in HTTP header |
| 58 | conductorMinorVersion: 0 |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 59 | # Url and credentials for the Policy Platform |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 60 | policyPlatformUrl: https://pdp:8081/pdp/api/getConfig # Policy Dev platform URL |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 61 | policyPlatformEnv: TEST # Environment for policy platform |
| 62 | policyPlatformUsername: testpdp # Policy platform username. |
| 63 | policyPlatformPassword: alpha123 # Policy platform password. |
| 64 | policyClientUsername: python # For use with ClientAuth |
| 65 | policyClientPassword: test # For use with ClientAuth |
| 66 | # Credentials for the message reader - A placeholder. |
| 67 | messageReaderHosts: NA |
| 68 | messageReaderTopic: NA |
| 69 | messageReaderAafUserId: NA |
| 70 | messageReaderAafPassword: NA |
| 71 | # Credentials for the SDC interface - A placeholder. |
| 72 | sdcUrl: NA |
| 73 | sdcUsername: NA |
| 74 | sdcPassword: NA |
| 75 | sdcONAPInstanceID: NA |
| 76 | # Credentials for the placement service – Generic. |
| 77 | osdfPlacementUsername: "test" |
| 78 | osdfPlacementPassword: "testpwd" |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 79 | # Credentials for the OOF placement service – SO. |
| 80 | osdfPlacementSOUsername: so_test |
| 81 | osdfPlacementSOPassword: so_testpwd |
| 82 | # Credentials for the OOF placement service - VFC |
| 83 | osdfPlacementVFCUsername: vfc_test |
| 84 | osdfPlacementVFCPassword: vfc_testpwd |
| 85 | # Credentials for the OOF CM scheduling service – Generic. |
| 86 | osdfCMSchedulerUsername: test1 |
| 87 | osdfCMSchedulerPassword: testpwd1 |
| 88 | #AAF Authentication |
| 89 | is_aaf_enabled: False |
| 90 | aaf_cache_expiry_hrs: 3 |
| 91 | aaf_url: https://aaf-service:8100 |
| 92 | aaf_user_roles: |
| 93 | - '/api/oof/v1/placement:org.onap.osdf.access|*|read ALL' |
| 94 | # Secret Management Service from AAF |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 95 | aaf_sms_url: https://aaf-sms |
| 96 | aaf_sms_port: 10443 |
Dileep Ranganathan | f706ae1 | 2018-10-01 04:27:13 -0700 | [diff] [blame] | 97 | aaf_sms_timeout: 30 |
| 98 | secret_domain: osdf |
| 99 | aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer |
| 100 | # config db api |
| 101 | configDbUrl: http://config.db.url:8080 |
| 102 | configDbUserName: osdf |
| 103 | configDbPassword: passwd |
| 104 | configDbGetCellListUrl: 'SDNCConfigDBAPI/getCellList' |
| 105 | configDbGetNbrListUrl: 'SDNCConfigDBAPI/getNbrList' |
| 106 | # Credentials for PCIHandler |
| 107 | pciHMSUsername: "" # pcihandler username for call back. |
| 108 | pciHMSPassword: "" # pcihandler password for call back. |
| 109 | # Credentials for the OOF PCI Opt service |
| 110 | osdfPCIOptUsername: pci_test |
| 111 | osdfPCIOptPassword: pci_testpwd |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 112 | # default number of instances |
| 113 | replicaCount: 1 |
| 114 | nodeSelector: {} |
| 115 | affinity: {} |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 116 | # Resource Limit flavor -By Default using small |
| 117 | flavor: small |
| 118 | # Segregation for Different environment (Small and Large) |
| 119 | resources: |
| 120 | small: |
| 121 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 122 | memory: 2Gi |
| 123 | cpu: 1000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 124 | requests: |
| 125 | memory: 1Gi |
| 126 | cpu: 500m |
| 127 | large: |
| 128 | limits: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 129 | memory: 4Gi |
| 130 | cpu: 2000m |
Prateekinlinux | b84ba5e | 2018-09-20 12:07:08 +0000 | [diff] [blame] | 131 | requests: |
| 132 | memory: 2Gi |
| 133 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 134 | unlimited: {} |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 135 | # probe configuration parameters |
| 136 | liveness: |
| 137 | initialDelaySeconds: 10 |
| 138 | periodSeconds: 10 |
| 139 | # necessary to disable liveness probe when setting breakpoints |
| 140 | # in debugger so K8s doesn't restart unresponsive container |
| 141 | enabled: true |
| 142 | readiness: |
| 143 | initialDelaySeconds: 10 |
| 144 | periodSeconds: 10 |
| 145 | service: |
| 146 | type: NodePort |
| 147 | name: oof-osdf |
| 148 | externalPort: 8698 |
| 149 | internalPort: 8699 |
| 150 | nodePort: 48 |
| 151 | ingress: |
| 152 | enabled: false |