blob: 06c190cc7aafdbe97ab493b9e2aede88f0701f2e [file] [log] [blame]
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04001# 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#################################################################
18global:
19 nodePortPrefix: 302
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040020 readinessRepository: oomk8s
Gary Wubf4b4d82018-05-11 13:26:30 -070021 readinessImage: readiness-check:2.0.0
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24#################################################################
25# Application configuration defaults.
26#################################################################
27# application image
28repository: nexus3.onap.org:10001
Ikramullah, Ikram6cde0b32019-04-24 22:24:08 +000029image: onap/optf-osdf:1.3.0-SNAPSHOT-latest
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040030pullPolicy: Always
31
32# flag to enable debugging - application support required
33debugEnabled: false
34
35# application configuration
36config:
Patel, Ankitkumard4b37e22018-05-29 16:56:30 -040037 msbgateway: msb-iag
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040038 msbPort: 80
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070039 placementVersioningEnabled: True
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070040 # 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 Ikramullah40b120b2018-05-01 11:35:40 -040048 # 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, Ankitkumard4b37e22018-05-29 16:56:30 -040052 conductorUrl: http://oof-has-api:8091/v1/plans/
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040053 conductorUsername: admin1
54 conductorPassword: plan.15
55 conductorPingWaitTime: 60
56 conductorMaxRetries: 30
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070057 # versions to be set in HTTP header
58 conductorMinorVersion: 0
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040059 # Url and credentials for the Policy Platform
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070060 policyPlatformUrl: https://pdp:8081/pdp/api/getConfig # Policy Dev platform URL
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040061 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 Ranganathanf706ae12018-10-01 04:27:13 -070079 # 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 Ranganathan61225cb2018-10-01 08:14:16 -070095 aaf_sms_url: https://aaf-sms
96 aaf_sms_port: 10443
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070097 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 Ikramullah40b120b2018-05-01 11:35:40 -0400112# default number of instances
113replicaCount: 1
114nodeSelector: {}
115affinity: {}
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000116# Resource Limit flavor -By Default using small
117flavor: small
118# Segregation for Different environment (Small and Large)
119resources:
120 small:
121 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700122 memory: 2Gi
123 cpu: 1000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000124 requests:
125 memory: 1Gi
126 cpu: 500m
127 large:
128 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700129 memory: 4Gi
130 cpu: 2000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000131 requests:
132 memory: 2Gi
133 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000134 unlimited: {}
Ikram Ikramullah40b120b2018-05-01 11:35:40 -0400135# probe configuration parameters
136liveness:
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
142readiness:
143 initialDelaySeconds: 10
144 periodSeconds: 10
145service:
146 type: NodePort
147 name: oof-osdf
148 externalPort: 8698
149 internalPort: 8699
150 nodePort: 48
151ingress:
152 enabled: false