Adjust kubectl get command for armada charts

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: Ic830568efb7589b46282ad3fd9293e4358929468
This commit is contained in:
Ruslan Aliev 2024-02-08 21:03:58 -06:00
parent 7ce7301476
commit b154334a20
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ while true; do
sleep 30
kubectl get pods --all-namespaces || echo "Could not get current pod status."
{%- if config['Genesis:enable_operator'] is sameas true %}
kubectl get armadacharts \
-o=custom-columns='NAMESPACE:metadata.namespace,NAME:metadata.name,READY:status.conditions[?(@.type=="Ready")].status,MESSAGE:status.conditions[?(@.type=="Ready")].message' -A || echo "Could not get current armada chart status."
kubectl get armadacharts -A -o wide || echo "Could not get current armada chart status."
{%- endif %}
else
log Armada bootstrap manifest deployed