Merge "storing robot logs on the pv"
[oom.git] / kubernetes / robot / values.yaml
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
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global: # global defaults
19   nodePortPrefix: 302
20   ubuntuInitRepository: registry.hub.docker.com
21   persistence: {}
22
23 # application image
24 repository: nexus3.onap.org:10001
25 image: onap/testsuite:1.2.1
26 pullPolicy: Always
27
28 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 #################################################################
34 # Application configuration defaults.
35 #################################################################
36 config:
37   # Username of the lighthttpd server.  Used for HTML auth for webpage access
38   lightHttpdUsername: robot
39   # Password of the lighthttpd server.  Used for HTML auth for webpage access
40   lightHttpdPassword: robot
41   # gerrit branch where the latest heat code is checked in
42   gerritBranch: 2.0.0-ONAP
43   # gerrit project where the latest heat code is checked in
44   gerritProject: http://gerrit.onap.org/r/demo.git
45
46
47 # Demo configuration
48 # Nexus demo artifact version.  Maps to GLOBAL_INJECTED_ARTIFACTS_VERSION
49 demoArtifactsVersion: "1.2.0-SNAPSHOT"
50 # Openstack medium sized flavour name.  Maps GLOBAL_INJECTED_VM_FLAVOR
51 openStackFlavourMedium: "m1.medium"
52 # Openstack keystone URL.  Maps to GLOBAL_INJECTED_KEYSTONE
53 openStackKeyStoneUrl: "http://1.2.3.4:5000"
54 # UUID of the Openstack network that can assign floating ips.  Maps to GLOBAL_INJECTED_PUBLIC_NET_ID
55 openStackPublicNetId: "e8f51958045716781ffc"
56 # password for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD
57 openStackPassword: "tenantPassword"
58 # Openstack region.  Maps to GLOBAL_INJECTED_REGION
59 openStackRegion: "RegionOne"
60 # Openstack tenant UUID where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_TENANT_ID
61 openStackTenantId: "47899782ed714295b1151681fdfd51f5"
62 # username for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME
63 openStackUserName: "tenantUsername"
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"
81 # Override with Pub Key for access to VNF
82 vnfPubKey: "FILL_IN_WITH_PUB_KEY"
83 # Override with DCAE VES Collector external IP
84 dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP"
85
86 # default number of instances
87 replicaCount: 1
88
89 nodeSelector: {}
90
91 affinity: {}
92
93 # probe configuration parameters
94 liveness:
95   initialDelaySeconds: 10
96   periodSeconds: 10
97   # necessary to disable liveness probe when setting breakpoints
98   # in debugger so K8s doesn't restart unresponsive container
99   enabled: true
100
101 readiness:
102   initialDelaySeconds: 10
103   periodSeconds: 10
104
105
106 service:
107   name: robot
108   type: NodePort
109   portName: httpd
110   externalPort: 88
111   internalPort: 88
112   nodePort: "09"
113
114
115 ingress:
116   enabled: false
117
118
119 resources: {}
120   # We usually recommend not to specify default resources and to leave this as a conscious
121   # choice for the user. This also increases chances charts run on environments with little
122   # resources, such as Minikube. If you do want to specify resources, uncomment the following
123   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
124   #
125   # Example:
126   # Configure resource requests and limits
127   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
128   # Minimum memory for development is 2 CPU cores and 4GB memory
129   # Minimum memory for production is 4 CPU cores and 8GB memory
130 #resources:
131 #  limits:
132 #    cpu: 2
133 #    memory: 4Gi
134 #  requests:
135 #    cpu: 2
136 #    memory: 4Gi
137
138 ## Persist data to a persitent volume
139 persistence:
140   enabled: true
141
142   ## A manually managed Persistent Volume and Claim
143   ## Requires persistence.enabled: true
144   ## If defined, PVC must be created manually before volume will be bound
145   # existingClaim:
146   volumeReclaimPolicy: Retain
147
148   ## database data Persistent Volume Storage Class
149   ## If defined, storageClassName: <storageClass>
150   ## If set to "-", storageClassName: "", which disables dynamic provisioning
151   ## If undefined (the default) or set to null, no storageClassName spec is
152   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
153   ##   GKE, AWS & OpenStack)
154   ##
155   # storageClass: "-"
156   accessMode: ReadWriteMany
157   size: 2Gi
158   mountPath: /dockerdata-nfs
159   mountSubPath: robot/logs