aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/backup/pv.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/cassandra/templates/backup/pv.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/backup/pv.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/backup/pv.yaml b/kubernetes/common/cassandra/templates/backup/pv.yaml
index 10c310077b..23e4551c10 100644
--- a/kubernetes/common/cassandra/templates/backup/pv.yaml
+++ b/kubernetes/common/cassandra/templates/backup/pv.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) -}}
{{- if eq "True" (include "common.needPV" .) -}}
---
@@ -39,3 +41,4 @@ spec:
{{- end -}}
{{- end -}}
{{- end -}}
+{{- end -}}