[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAI
[oom.git] / kubernetes / aai / components / aai-graphadmin / templates / job-create-db.yaml
index 1a81249..c80d348 100644 (file)
@@ -60,9 +60,9 @@ spec:
         args:
         - --app-name
         {{- if .Values.global.cassandra.localCluster }}
-        - aai-cassandra
+        - {{ ternary "aai-cassandra-reaper" "aai-cassandra" .Values.global.cassandra.useOperator }}
         {{- else }}
-        - cassandra
+        - {{ ternary "cassandra-reaper" "cassandra" .Values.global.cassandra.useOperator }}
         {{- end }}
         - --container-name
         - aai-schema-service