AAI Rolling upgrade using helm hooks
[oom.git] / kubernetes / aai / charts / aai-champ / templates / deployment.yaml
index 8e4d7f4..a311f68 100644 (file)
@@ -36,7 +36,11 @@ spec:
           - /root/ready.py
           args:
           - --container-name
+          {{- if .Values.global.cassandra.localCluster }}
           - aai-cassandra
+          {{- else }}
+          - cassandra
+          {{- end }}
           env:
           - name: NAMESPACE
             valueFrom: