summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/backup/pv.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-05-26 09:21:02 +0000
committerGerrit Code Review <gerrit@onap.org>2023-05-26 09:21:02 +0000
commit1fcee4e8d3bce9134096dc8c096c20ae54f21f6a (patch)
tree7779282c638764f6e963d88dcc6a054fb180cb51 /kubernetes/common/cassandra/templates/backup/pv.yaml
parent7258874e2d9a2d21bf017b1dd6276bb0399151be (diff)
parent65e8f785c1ab86a761970161bb1e754a0e03c895 (diff)
Merge "[COMMON] Adding Common Template for cassa-operator"
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 -}}