From 28c0645f9d3e4781125184091d59452672ccf895 Mon Sep 17 00:00:00 2001 From: Roger Maitland Date: Tue, 10 Apr 2018 14:43:57 -0400 Subject: Add pv and pvc to portal-cassandra Change-Id: I058848f3f40d7759201175986c57cd96ac232a4a Signed-off-by: Roger Maitland Issue-ID: OOM-900 --- .../portal/charts/portal-cassandra/values.yaml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'kubernetes/portal/charts/portal-cassandra/values.yaml') diff --git a/kubernetes/portal/charts/portal-cassandra/values.yaml b/kubernetes/portal/charts/portal-cassandra/values.yaml index 530fdfa6d9..f66b848274 100644 --- a/kubernetes/portal/charts/portal-cassandra/values.yaml +++ b/kubernetes/portal/charts/portal-cassandra/values.yaml @@ -50,6 +50,29 @@ 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: + ## 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 -- cgit 1.2.3-korg