summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/backup/cronjob.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/cassandra/templates/backup/cronjob.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/backup/cronjob.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/backup/cronjob.yaml b/kubernetes/common/cassandra/templates/backup/cronjob.yaml
index 27f3cc690d..e2f675a384 100644
--- a/kubernetes/common/cassandra/templates/backup/cronjob.yaml
+++ b/kubernetes/common/cassandra/templates/backup/cronjob.yaml
@@ -14,6 +14,8 @@
# limitations under the License.
*/}}
{{- if .Values.backup.enabled }}
+{{- if .Values.k8ssandraOperator.enabled }}
+{{ else }}
apiVersion: batch/v1beta1
kind: CronJob
metadata:
@@ -243,3 +245,4 @@ spec:
persistentVolumeClaim:
claimName: {{ include "common.fullname" . }}-backup-data
{{- end -}}
+{{- end -}} \ No newline at end of file