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 | |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 38 | # Demo configuration |
| 39 | # Nexus demo artifact version. Maps to GLOBAL_INJECTED_ARTIFACTS_VERSION |
Mandeep Khinda | 930bd69 | 2018-03-20 21:00:33 +0000 | [diff] [blame] | 40 | demoArtifactsVersion: "1.2.0-SNAPSHOT" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 41 | # Openstack medium sized flavour name. Maps GLOBAL_INJECTED_VM_FLAVOR |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 42 | openStackFlavourMedium: "m1.medium" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 43 | # Openstack keystone URL. Maps to GLOBAL_INJECTED_KEYSTONE |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 44 | openStackKeyStoneUrl: "http://1.2.3.4:5000" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 45 | # 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] | 46 | openStackPublicNetId: "e8f51958045716781ffc" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 47 | # password for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD |
| 48 | openStackPassword: "tenantPassword" |
| 49 | # Openstack region. Maps to GLOBAL_INJECTED_REGION |
vaibhav_16dec | 0947cdf | 2018-01-17 15:40:59 +0000 | [diff] [blame] | 50 | openStackRegion: "RegionOne" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 51 | # 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] | 52 | openStackTenantId: "47899782ed714295b1151681fdfd51f5" |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 53 | # username for Openstack tenant where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME |
| 54 | openStackUserName: "tenantUsername" |
| 55 | # Openstack glance image name for Ubuntu 14. Maps to GLOBAL_INJECTED_UBUNTU_1404_IMAGE |
| 56 | ubuntu14Image: "Ubuntu_14_trusty" |
| 57 | # Openstack glance image name for Ubuntu 16. Maps to GLOBAL_INJECTED_UBUNTU_1604_IMAGE |
| 58 | ubuntu16Image: "Ubuntu_16_xenial" |
| 59 | # GLOBAL_INJECTED_SCRIPT_VERSION. Maps to GLOBAL_INJECTED_SCRIPT_VERSION |
| 60 | scriptVersion: "1.2.0-SNAPSHOT" |
| 61 | # Openstack network to which VNFs will bind their primary (first) interface. Maps to GLOBAL_INJECTED_NETWORK |
| 62 | openStackPrivateNetId: "e8f51956-00dd-4425-af36-045716781ffc" |
| 63 | |
| 64 | # SDNC Preload configuration |
| 65 | # Openstack subnet UUID for the network defined by openStackPrivateNetId. Maps to onap_private_subnet_id |
| 66 | openStackPrivateSubnetId: "e8f51956-00dd-4425-af36-045716781ffc" |
| 67 | # CIDR notation for the Openstack private network where VNFs will be spawned. Maps to onap_private_net_cidr |
| 68 | openStackPrivateNetCidr: "10.0.0.0/8" |
| 69 | # The first 2 octets of the private Openstack subnet where VNFs will be spawned. |
| 70 | # Needed because sdnc preload templates hardcodes things like this 10.0.${ecompnet}.X |
| 71 | openStackOamNetworkCidrPrefix: "10.0" |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 72 | # Override with Pub Key for access to VNF |
| 73 | vnfPubKey: "FILL_IN_WITH_PUB_KEY" |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 74 | # Override with DCAE VES Collector external IP |
Brian Freeman | 1fb36e6 | 2018-05-14 13:49:03 -0500 | [diff] [blame] | 75 | dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 76 | |
| 77 | # default number of instances |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 78 | replicaCount: 1 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
| 86 | initialDelaySeconds: 10 |
| 87 | periodSeconds: 10 |
| 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
| 93 | initialDelaySeconds: 10 |
| 94 | periodSeconds: 10 |
| 95 | |
| 96 | |
| 97 | service: |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 98 | name: robot |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 99 | type: NodePort |
| 100 | portName: httpd |
| 101 | externalPort: 88 |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 102 | internalPort: 88 |
Mandeep Khinda | 7ea563e | 2018-04-17 03:26:26 +0000 | [diff] [blame] | 103 | nodePort: "09" |
vaibhav_16dec | d3bc08f | 2018-03-15 07:05:10 +0000 | [diff] [blame] | 104 | |
| 105 | |
| 106 | ingress: |
| 107 | enabled: false |
| 108 | |
| 109 | |
| 110 | resources: {} |
| 111 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 112 | # choice for the user. This also increases chances charts run on environments with little |
| 113 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 114 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 115 | # |
| 116 | # Example: |
| 117 | # Configure resource requests and limits |
| 118 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 119 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 120 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 121 | #resources: |
| 122 | # limits: |
| 123 | # cpu: 2 |
| 124 | # memory: 4Gi |
| 125 | # requests: |
| 126 | # cpu: 2 |
| 127 | # memory: 4Gi |
Mandeep Khinda | 1a8ec77 | 2018-05-17 20:08:42 +0000 | [diff] [blame] | 128 | |
| 129 | ## Persist data to a persitent volume |
| 130 | persistence: |
| 131 | enabled: true |
| 132 | |
| 133 | ## A manually managed Persistent Volume and Claim |
| 134 | ## Requires persistence.enabled: true |
| 135 | ## If defined, PVC must be created manually before volume will be bound |
| 136 | # existingClaim: |
| 137 | volumeReclaimPolicy: Retain |
| 138 | |
| 139 | ## database data Persistent Volume Storage Class |
| 140 | ## If defined, storageClassName: <storageClass> |
| 141 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 142 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 143 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 144 | ## GKE, AWS & OpenStack) |
| 145 | ## |
| 146 | # storageClass: "-" |
| 147 | accessMode: ReadWriteMany |
| 148 | size: 2Gi |
| 149 | mountPath: /dockerdata-nfs |
| 150 | mountSubPath: robot/logs |