[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAI
[oom.git] / kubernetes / aai / components / aai-graphadmin / templates / job-create-db.yaml
index 31669dd..c80d348 100644 (file)
@@ -58,11 +58,11 @@ spec:
       - command:
         - /app/ready.py
         args:
-        - --container-name
+        - --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