summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-10-19 11:34:15 +0000
committerGerrit Code Review <gerrit@onap.org>2023-10-19 11:34:15 +0000
commit4bd69da6e25e55305503c5a4ed8915447ba583da (patch)
treed92ff10eab75df1b2cc69e4c648c8ac103c11129 /kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
parent7a24e5fedfafeab43c80403759507960abb3c2b0 (diff)
parent891eeb77f57dcb28db018fab84ece4b46758a162 (diff)
Merge "[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAI"
Diffstat (limited to 'kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml')
-rw-r--r--kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml b/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
index 865dfe3eeb..2bee19ffcf 100644
--- a/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
+++ b/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
@@ -64,7 +64,11 @@ spec:
- command:
- /bin/bash
- -c
+ {{- if .Values.global.cassandra.useOperator }}
+ - /app/ready.py --app-name aai-cassandra-reaper --timeout 1 || /app/ready.py --app-name cassandra-reaper
+ {{- else }}
- /app/ready.py --app-name aai-cassandra --timeout 1 || /app/ready.py --app-name cassandra
+ {{- end }}
env:
- name: NAMESPACE
valueFrom: