Merge "update log helm chart from 2 to 3.0.0"
[oom.git] / kubernetes / portal / charts / portal-cassandra / values.yaml
index 530fdfa..c8a779e 100644 (file)
@@ -1,4 +1,5 @@
 # Copyright © 2017 Amdocs, Bell Canada
+# Modifications Copyright © 2018 AT&T
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # Declare variables to be passed into your templates.
 global: # global defaults
   nodePortPrefix: 302
-  repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
   persistence: {}
 
 
 # application image
 repository: nexus3.onap.org:10001
-image: onap/music/cassandra_music:latest
+image: onap/music/cassandra_music:3.0.0
 pullPolicy: Always
 
 # application configuration
 config:
   cassandraUsername: root
   cassandraPassword: Aa123456
+  cassandraJvmOpts: -Xmx2536m -Xms2536m
 
 # default number of instances
 replicaCount: 1
@@ -50,9 +51,33 @@ readiness:
   initialDelaySeconds: 10
   periodSeconds: 10
 
+## 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: portal/cassandra/data
+  
 service:
   type: ClusterIP
   name: portal-cassandra
+  portName: portal-cassandra
   externalPort: 9160
   internalPort: 9160
   externalPort2: 7000