aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/backup/pvc.yaml
diff options
context:
space:
mode:
authordasarathi528024 <ds00528024@techmahindra.com>2023-05-03 09:51:20 +0000
committerAndreas Geissler <andreas-geissler@telekom.de>2023-05-26 08:48:39 +0200
commit65e8f785c1ab86a761970161bb1e754a0e03c895 (patch)
treed37c350e0a8318f7fc1eac47dab657a0ba9e07d7 /kubernetes/common/cassandra/templates/backup/pvc.yaml
parent7448e0aef213763803a670d265ff9d4f6f96027e (diff)
[COMMON] Adding Common Template for cassa-operator
- K8ssandraCluster resources template file added - Modification of the cassandra chart to add the option to install cassandra using the k8ssandra-operator - AAI and SDC values changed to support the new cassandra settings - Fix for SDC cql version in jobs - for London make k8ssandra-operator optional (default: false) Issue-ID: OOM-3168 Signed-off-by: Dasarathi, Swain (ds00528024) <ds00528024@techmahindra.com> Change-Id: Idfe232460c9c1f584536e60ea042345d7dca3164
Diffstat (limited to 'kubernetes/common/cassandra/templates/backup/pvc.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/backup/pvc.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/backup/pvc.yaml b/kubernetes/common/cassandra/templates/backup/pvc.yaml
index 6fd53618bc..e60a1db510 100644
--- a/kubernetes/common/cassandra/templates/backup/pvc.yaml
+++ b/kubernetes/common/cassandra/templates/backup/pvc.yaml
@@ -14,6 +14,8 @@
# limitations under the License.
*/}}
{{- if .Values.backup.enabled }}
+{{- if .Values.k8ssandraOperator.enabled }}
+{{ else }}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
---
kind: PersistentVolumeClaim
@@ -39,3 +41,4 @@ spec:
storageClassName: {{ include "common.storageClass" . }}
{{- end -}}
{{- end -}}
+{{- end -}}