vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 20 | ubuntuInitRepository: registry.hub.docker.com |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 21 | persistence: {} |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 22 | |
| 23 | # application image |
| 24 | repository: nexus3.onap.org:10001 |
Brian Freeman | ada88d5 | 2019-02-21 17:47:06 -0500 | [diff] [blame] | 25 | image: onap/testsuite:1.4.0-STAGING-latest |
kerenj | fc2caa6 | 2017-08-23 12:46:02 +0000 | [diff] [blame] | 26 | pullPolicy: Always |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 27 | |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 28 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 29 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | ################################################################# |
| 34 | # Application configuration defaults. |
| 35 | ################################################################# |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 36 | config: |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 37 | |
Brian Freeman | 6b1b022 | 2018-09-10 07:53:22 -0500 | [diff] [blame] | 38 | # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment |
| 39 | openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" |
| 40 | |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 41 | # Demo configuration |
| 42 | # Nexus demo artifact version. Maps to GLOBAL_INJECTED_ARTIFACTS_VERSION |
Marco Platania | 0cbc25e | 2019-04-18 17:26:43 -0400 | [diff] [blame] | 43 | demoArtifactsVersion: "1.4.0-SNAPSHOT" |
Gary Wu | 92ee816 | 2018-11-20 13:07:16 -0800 | [diff] [blame] | 44 | # Nexus demo artifact URL. |
| 45 | demoArtifactsRepoUrl: "https://nexus.onap.org/content/repositories/releases" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 46 | # Openstack medium sized flavour name. Maps GLOBAL_INJECTED_VM_FLAVOR |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 47 | openStackFlavourMedium: "m1.medium" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 48 | # Openstack keystone URL. Maps to GLOBAL_INJECTED_KEYSTONE |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 49 | openStackKeyStoneUrl: "http://1.2.3.4:5000" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 50 | # UUID of the Openstack network that can assign floating ips. Maps to GLOBAL_INJECTED_PUBLIC_NET_ID |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 51 | openStackPublicNetId: "e8f51958045716781ffc" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 52 | # password for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD |
| 53 | openStackPassword: "tenantPassword" |
| 54 | # Openstack region. Maps to GLOBAL_INJECTED_REGION |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 55 | openStackRegion: "RegionOne" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 56 | # Openstack tenant UUID where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_TENANT_ID |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 57 | openStackTenantId: "47899782ed714295b1151681fdfd51f5" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 58 | # username for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME |
| 59 | openStackUserName: "tenantUsername" |
Ah | 74f3d5f | 2018-09-28 12:13:54 +0530 | [diff] [blame] | 60 | # Project name of Openstack where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_PROJECT_NAME |
| 61 | openStackProjectName: "onap" |
| 62 | # Domain id of openstack where VNFs will be deployed. Maps to GLOBAL_INJECTED_OPENSTACK_DOMAIN_ID |
Brian Freeman | 3ace4e8 | 2019-04-23 14:36:36 -0500 | [diff] [blame] | 63 | openStackDomainId: "Default" |
Ah | 74f3d5f | 2018-09-28 12:13:54 +0530 | [diff] [blame] | 64 | # Openstack Keystone API version. Valid values are [ v2.0, v3 ]. Maps to GLOBAL_INJECTED_OPENSTACK_KEYSTONE_API_VERSION |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 65 | openStackKeystoneAPIVersion: "v2.0" |
Brian Freeman | 4d7e449 | 2019-04-22 10:41:59 -0500 | [diff] [blame] | 66 | # Values for second cloud instante for VNF instantiatioen testing and keystone v3 |
| 67 | openStackRegionRegionThree: "RegionThree" |
| 68 | openStackKeyStoneUrlRegionThree: "http://1.2.3.4:5000" |
| 69 | openStackKeystoneAPIVersionRegionThree: "v3" |
| 70 | openStackUserNameRegionThree: "demo" |
| 71 | openStackPasswordRegionThree: "tenantPassword" |
| 72 | # this is the java encrypted password that is needed for SO |
| 73 | openSackMsoEncryptdPasswordRegionThree: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| 74 | openStackTenantIdRegionThree: "3583253e932845a09cd4c8ca2f31d095" |
| 75 | openStackProjectNameRegionThree: "Integration-HEAT-Staging-Daily" |
Brian Freeman | 3ace4e8 | 2019-04-23 14:36:36 -0500 | [diff] [blame] | 76 | openStackDomainIdRegionThree: "Default" |
Brian Freeman | 4d7e449 | 2019-04-22 10:41:59 -0500 | [diff] [blame] | 77 | # |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 78 | # Openstack glance image name for Ubuntu 14. Maps to GLOBAL_INJECTED_UBUNTU_1404_IMAGE |
| 79 | ubuntu14Image: "Ubuntu_14_trusty" |
| 80 | # Openstack glance image name for Ubuntu 16. Maps to GLOBAL_INJECTED_UBUNTU_1604_IMAGE |
| 81 | ubuntu16Image: "Ubuntu_16_xenial" |
| 82 | # GLOBAL_INJECTED_SCRIPT_VERSION. Maps to GLOBAL_INJECTED_SCRIPT_VERSION |
Marco Platania | 0cbc25e | 2019-04-18 17:26:43 -0400 | [diff] [blame] | 83 | scriptVersion: "1.4.0-SNAPSHOT" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 84 | # Openstack network to which VNFs will bind their primary (first) interface. Maps to GLOBAL_INJECTED_NETWORK |
| 85 | openStackPrivateNetId: "e8f51956-00dd-4425-af36-045716781ffc" |
Gary Wu | 20aa6a0 | 2018-10-22 15:11:34 -0700 | [diff] [blame] | 86 | # Openstack security group for instantiating VNFs |
| 87 | openStackSecurityGroup: "onap_sg" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 88 | # SDNC Preload configuration |
| 89 | # Openstack subnet UUID for the network defined by openStackPrivateNetId. Maps to onap_private_subnet_id |
| 90 | openStackPrivateSubnetId: "e8f51956-00dd-4425-af36-045716781ffc" |
| 91 | # CIDR notation for the Openstack private network where VNFs will be spawned. Maps to onap_private_net_cidr |
| 92 | openStackPrivateNetCidr: "10.0.0.0/8" |
| 93 | # The first 2 octets of the private Openstack subnet where VNFs will be spawned. |
| 94 | # Needed because sdnc preload templates hardcodes things like this 10.0.${ecompnet}.X |
| 95 | openStackOamNetworkCidrPrefix: "10.0" |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 96 | # VID protocol/port until Selenium issue with SSL resolved |
| 97 | # https/8443 vs http/8080 |
| 98 | vidServerProtocol: "http" |
| 99 | vidServerPort: "8080" |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 100 | # Override with Pub Key for access to VNF |
| 101 | vnfPubKey: "FILL_IN_WITH_PUB_KEY" |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 102 | # Override with DCAE VES Collector external IP |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 103 | dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 104 | |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 105 | # Credentials for ONAP Component |
| 106 | # AAF |
| 107 | aafUsername: "demo@people.osaaf.org" |
| 108 | aafPassword: "demo123456!" |
| 109 | # AAI |
| 110 | aaiUsername: "aai@aai.onap.org" |
| 111 | aaiPassword: "demo123456!" |
| 112 | # APPC |
Gary Wu | 064e274 | 2018-10-31 14:49:37 -0700 | [diff] [blame] | 113 | appcUsername: "appc@appc.onap.org" |
| 114 | appcPassword: "demo123456!" |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 115 | # DCAE |
| 116 | dcaeUsername: "console" |
| 117 | dcaePassword: "ZjJkYjllMjljMTI2M2Iz" |
| 118 | # DROOLS |
| 119 | droolsUsername: "demo@people.osaaf.org" |
| 120 | droolsPassword: "demo123456!" |
| 121 | # POLICY |
| 122 | policyAuth: "dGVzdHBkcDphbHBoYTEyMw==" |
| 123 | policyClientAuth: "cHl0aG9uOnRlc3Q=" |
| 124 | policyUsername: "demo@people.osaaf.org" |
| 125 | policyPassword: "demo123456!" |
| 126 | # PORTAL |
| 127 | portalUsername: "demo" |
| 128 | portalPassword: "Kp8bJ4SXszM0WXlhak3eHlcse" |
| 129 | # SO |
| 130 | soUsername: "InfraPortalClient" |
| 131 | soPassword: "password1$" |
| 132 | soCatdbUsername: "bpel" |
| 133 | soCatdbPassword: "password1$" |
| 134 | # SDNC |
| 135 | sdncUsername: "admin" |
| 136 | sdncPassword: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" |
| 137 | # VID |
| 138 | vidUsername: "demo" |
| 139 | vidPassword: "Kp8bJ4SXszM0WX" |
| 140 | vidHealthUsername: "Default" |
| 141 | vidHealthPassword: "AppPassword!1" |
pkaras | 477c7bd | 2019-04-10 10:49:18 +0200 | [diff] [blame] | 142 | # DMAAP BC |
| 143 | bcUsername: "dmaap-bc@dmaap-bc.onap.org" |
| 144 | bcPassword: "demo123456!" |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 145 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 146 | # default number of instances |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 147 | replicaCount: 1 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 148 | |
| 149 | nodeSelector: {} |
| 150 | |
| 151 | affinity: {} |
| 152 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 153 | # Resource Limit flavor -By Default using small |
vaibhav_16dec | 1aa60a8 | 2018-09-19 02:36:17 +0000 | [diff] [blame] | 154 | flavor: small |
| 155 | # Segregation for Different environment (Small and Large) |
| 156 | resources: |
| 157 | small: |
| 158 | limits: |
| 159 | cpu: 2000m |
| 160 | memory: 4Gi |
| 161 | requests: |
| 162 | cpu: 500m |
| 163 | memory: 1Gi |
| 164 | large: |
| 165 | limits: |
| 166 | cpu: 4000m |
| 167 | memory: 8Gi |
| 168 | requests: |
| 169 | cpu: 1000m |
| 170 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 171 | unlimited: {} |
vaibhav_16dec | 1aa60a8 | 2018-09-19 02:36:17 +0000 | [diff] [blame] | 172 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 173 | # probe configuration parameters |
| 174 | liveness: |
Gary Wu | fa27e78 | 2018-10-08 13:22:12 -0700 | [diff] [blame] | 175 | initialDelaySeconds: 180 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 176 | periodSeconds: 10 |
| 177 | # necessary to disable liveness probe when setting breakpoints |
| 178 | # in debugger so K8s doesn't restart unresponsive container |
| 179 | enabled: true |
| 180 | |
| 181 | readiness: |
Gary Wu | fa27e78 | 2018-10-08 13:22:12 -0700 | [diff] [blame] | 182 | initialDelaySeconds: 180 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 183 | periodSeconds: 10 |
| 184 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 185 | service: |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 186 | name: robot |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 187 | type: NodePort |
| 188 | portName: httpd |
| 189 | externalPort: 88 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 190 | internalPort: 88 |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 191 | nodePort: "09" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 192 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 193 | ingress: |
| 194 | enabled: false |
| 195 | |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 196 | ## Persist data to a persitent volume |
| 197 | persistence: |
| 198 | enabled: true |
| 199 | |
| 200 | ## A manually managed Persistent Volume and Claim |
| 201 | ## Requires persistence.enabled: true |
| 202 | ## If defined, PVC must be created manually before volume will be bound |
| 203 | # existingClaim: |
| 204 | volumeReclaimPolicy: Retain |
| 205 | |
| 206 | ## database data Persistent Volume Storage Class |
| 207 | ## If defined, storageClassName: <storageClass> |
| 208 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 209 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 210 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 211 | ## GKE, AWS & OpenStack) |
| 212 | ## |
| 213 | # storageClass: "-" |
| 214 | accessMode: ReadWriteMany |
| 215 | size: 2Gi |
| 216 | mountPath: /dockerdata-nfs |
Brian Freeman | 6b1b022 | 2018-09-10 07:53:22 -0500 | [diff] [blame] | 217 | mountSubPath: robot/logs |