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 |
edepaul | 34fe067 | 2018-09-10 07:45:24 +0100 | [diff] [blame] | 25 | image: onap/testsuite:1.3.1-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 |
Mandeep Khinda | 930bd69 | 2018-03-20 21:00:33 +0000 | [diff] [blame] | 43 | demoArtifactsVersion: "1.2.0-SNAPSHOT" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 44 | # Openstack medium sized flavour name. Maps GLOBAL_INJECTED_VM_FLAVOR |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 45 | openStackFlavourMedium: "m1.medium" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 46 | # Openstack keystone URL. Maps to GLOBAL_INJECTED_KEYSTONE |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 47 | openStackKeyStoneUrl: "http://1.2.3.4:5000" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 48 | # 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] | 49 | openStackPublicNetId: "e8f51958045716781ffc" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 50 | # password for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD |
| 51 | openStackPassword: "tenantPassword" |
| 52 | # Openstack region. Maps to GLOBAL_INJECTED_REGION |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 53 | openStackRegion: "RegionOne" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 54 | # 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] | 55 | openStackTenantId: "47899782ed714295b1151681fdfd51f5" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 56 | # username for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME |
| 57 | openStackUserName: "tenantUsername" |
Ah | 74f3d5f | 2018-09-28 12:13:54 +0530 | [diff] [blame] | 58 | # Project name of Openstack where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_PROJECT_NAME |
| 59 | openStackProjectName: "onap" |
| 60 | # Domain id of openstack where VNFs will be deployed. Maps to GLOBAL_INJECTED_OPENSTACK_DOMAIN_ID |
| 61 | openStackDomainId: "default" |
| 62 | # 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] | 63 | openStackKeystoneAPIVersion: "v2.0" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 64 | # Openstack glance image name for Ubuntu 14. Maps to GLOBAL_INJECTED_UBUNTU_1404_IMAGE |
| 65 | ubuntu14Image: "Ubuntu_14_trusty" |
| 66 | # Openstack glance image name for Ubuntu 16. Maps to GLOBAL_INJECTED_UBUNTU_1604_IMAGE |
| 67 | ubuntu16Image: "Ubuntu_16_xenial" |
| 68 | # GLOBAL_INJECTED_SCRIPT_VERSION. Maps to GLOBAL_INJECTED_SCRIPT_VERSION |
| 69 | scriptVersion: "1.2.0-SNAPSHOT" |
| 70 | # Openstack network to which VNFs will bind their primary (first) interface. Maps to GLOBAL_INJECTED_NETWORK |
| 71 | openStackPrivateNetId: "e8f51956-00dd-4425-af36-045716781ffc" |
| 72 | |
| 73 | # SDNC Preload configuration |
| 74 | # Openstack subnet UUID for the network defined by openStackPrivateNetId. Maps to onap_private_subnet_id |
| 75 | openStackPrivateSubnetId: "e8f51956-00dd-4425-af36-045716781ffc" |
| 76 | # CIDR notation for the Openstack private network where VNFs will be spawned. Maps to onap_private_net_cidr |
| 77 | openStackPrivateNetCidr: "10.0.0.0/8" |
| 78 | # The first 2 octets of the private Openstack subnet where VNFs will be spawned. |
| 79 | # Needed because sdnc preload templates hardcodes things like this 10.0.${ecompnet}.X |
| 80 | openStackOamNetworkCidrPrefix: "10.0" |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 81 | # VID protocol/port until Selenium issue with SSL resolved |
| 82 | # https/8443 vs http/8080 |
| 83 | vidServerProtocol: "http" |
| 84 | vidServerPort: "8080" |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 85 | # Override with Pub Key for access to VNF |
| 86 | vnfPubKey: "FILL_IN_WITH_PUB_KEY" |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 87 | # Override with DCAE VES Collector external IP |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 88 | dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 89 | |
Brian Freeman | 8280cc9 | 2018-10-13 14:06:40 -0500 | [diff] [blame] | 90 | # Credentials for ONAP Component |
| 91 | # AAF |
| 92 | aafUsername: "demo@people.osaaf.org" |
| 93 | aafPassword: "demo123456!" |
| 94 | # AAI |
| 95 | aaiUsername: "aai@aai.onap.org" |
| 96 | aaiPassword: "demo123456!" |
| 97 | # APPC |
| 98 | appcUsername: "admin" |
| 99 | appcPassword: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" |
| 100 | # DCAE |
| 101 | dcaeUsername: "console" |
| 102 | dcaePassword: "ZjJkYjllMjljMTI2M2Iz" |
| 103 | # DROOLS |
| 104 | droolsUsername: "demo@people.osaaf.org" |
| 105 | droolsPassword: "demo123456!" |
| 106 | # POLICY |
| 107 | policyAuth: "dGVzdHBkcDphbHBoYTEyMw==" |
| 108 | policyClientAuth: "cHl0aG9uOnRlc3Q=" |
| 109 | policyUsername: "demo@people.osaaf.org" |
| 110 | policyPassword: "demo123456!" |
| 111 | # PORTAL |
| 112 | portalUsername: "demo" |
| 113 | portalPassword: "Kp8bJ4SXszM0WXlhak3eHlcse" |
| 114 | # SO |
| 115 | soUsername: "InfraPortalClient" |
| 116 | soPassword: "password1$" |
| 117 | soCatdbUsername: "bpel" |
| 118 | soCatdbPassword: "password1$" |
| 119 | # SDNC |
| 120 | sdncUsername: "admin" |
| 121 | sdncPassword: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" |
| 122 | # VID |
| 123 | vidUsername: "demo" |
| 124 | vidPassword: "Kp8bJ4SXszM0WX" |
| 125 | vidHealthUsername: "Default" |
| 126 | vidHealthPassword: "AppPassword!1" |
| 127 | |
| 128 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 129 | # default number of instances |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 130 | replicaCount: 1 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 131 | |
| 132 | nodeSelector: {} |
| 133 | |
| 134 | affinity: {} |
| 135 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 136 | # Resource Limit flavor -By Default using small |
vaibhav_16dec | 1aa60a8 | 2018-09-19 02:36:17 +0000 | [diff] [blame] | 137 | flavor: small |
| 138 | # Segregation for Different environment (Small and Large) |
| 139 | resources: |
| 140 | small: |
| 141 | limits: |
| 142 | cpu: 2000m |
| 143 | memory: 4Gi |
| 144 | requests: |
| 145 | cpu: 500m |
| 146 | memory: 1Gi |
| 147 | large: |
| 148 | limits: |
| 149 | cpu: 4000m |
| 150 | memory: 8Gi |
| 151 | requests: |
| 152 | cpu: 1000m |
| 153 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 154 | unlimited: {} |
vaibhav_16dec | 1aa60a8 | 2018-09-19 02:36:17 +0000 | [diff] [blame] | 155 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 156 | # probe configuration parameters |
| 157 | liveness: |
Gary Wu | fa27e78 | 2018-10-08 13:22:12 -0700 | [diff] [blame] | 158 | initialDelaySeconds: 180 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 159 | periodSeconds: 10 |
| 160 | # necessary to disable liveness probe when setting breakpoints |
| 161 | # in debugger so K8s doesn't restart unresponsive container |
| 162 | enabled: true |
| 163 | |
| 164 | readiness: |
Gary Wu | fa27e78 | 2018-10-08 13:22:12 -0700 | [diff] [blame] | 165 | initialDelaySeconds: 180 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 166 | periodSeconds: 10 |
| 167 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 168 | service: |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 169 | name: robot |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 170 | type: NodePort |
| 171 | portName: httpd |
| 172 | externalPort: 88 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 173 | internalPort: 88 |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 174 | nodePort: "09" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 175 | |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 176 | ingress: |
| 177 | enabled: false |
| 178 | |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 179 | ## Persist data to a persitent volume |
| 180 | persistence: |
| 181 | enabled: true |
| 182 | |
| 183 | ## A manually managed Persistent Volume and Claim |
| 184 | ## Requires persistence.enabled: true |
| 185 | ## If defined, PVC must be created manually before volume will be bound |
| 186 | # existingClaim: |
| 187 | volumeReclaimPolicy: Retain |
| 188 | |
| 189 | ## database data Persistent Volume Storage Class |
| 190 | ## If defined, storageClassName: <storageClass> |
| 191 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 192 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 193 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 194 | ## GKE, AWS & OpenStack) |
| 195 | ## |
| 196 | # storageClass: "-" |
| 197 | accessMode: ReadWriteMany |
| 198 | size: 2Gi |
| 199 | mountPath: /dockerdata-nfs |
Brian Freeman | 6b1b022 | 2018-09-10 07:53:22 -0500 | [diff] [blame] | 200 | mountSubPath: robot/logs |