Merge "storing robot logs on the pv"
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>
Wed, 27 Jun 2018 13:59:09 +0000 (13:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 27 Jun 2018 13:59:09 +0000 (13:59 +0000)
1  2 
kubernetes/robot/values.yaml

  global: # global defaults
    nodePortPrefix: 302
    ubuntuInitRepository: registry.hub.docker.com
+   persistence: {}
  
  # application image
  repository: nexus3.onap.org:10001
 -image: onap/testsuite:1.2.0
 +image: onap/testsuite:1.2.1
  pullPolicy: Always
  
  ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
@@@ -38,7 -39,7 +39,7 @@@ config
    # Password of the lighthttpd server.  Used for HTML auth for webpage access
    lightHttpdPassword: robot
    # gerrit branch where the latest heat code is checked in
 -  gerritBranch: master
 +  gerritBranch: 2.0.0-ONAP
    # gerrit project where the latest heat code is checked in
    gerritProject: http://gerrit.onap.org/r/demo.git
  
@@@ -79,7 -80,7 +80,7 @@@ openStackPrivateNetCidr: "10.0.0.0/8
  openStackOamNetworkCidrPrefix: "10.0"
  # Override with Pub Key for access to VNF
  vnfPubKey: "FILL_IN_WITH_PUB_KEY"
- # Override with DCAE VES Collector external IP 
+ # Override with DCAE VES Collector external IP
  dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP"
  
  # default number of instances
@@@ -133,3 -134,26 +134,26 @@@ resources: {
  #  requests:
  #    cpu: 2
  #    memory: 4Gi
+ ## Persist data to a persitent volume
+ persistence:
+   enabled: true
+   ## A manually managed Persistent Volume and Claim
+   ## Requires persistence.enabled: true
+   ## If defined, PVC must be created manually before volume will be bound
+   # existingClaim:
+   volumeReclaimPolicy: Retain
+   ## database data Persistent Volume Storage Class
+   ## If defined, storageClassName: <storageClass>
+   ## If set to "-", storageClassName: "", which disables dynamic provisioning
+   ## If undefined (the default) or set to null, no storageClassName spec is
+   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
+   ##   GKE, AWS & OpenStack)
+   ##
+   # storageClass: "-"
+   accessMode: ReadWriteMany
+   size: 2Gi
+   mountPath: /dockerdata-nfs
+   mountSubPath: robot/logs