Adjust kubectl get command for armada charts
Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: Ic830568efb7589b46282ad3fd9293e4358929468
This commit is contained in:
parent
7ce7301476
commit
b154334a20
@ -55,8 +55,7 @@ while true; do
|
|||||||
sleep 30
|
sleep 30
|
||||||
kubectl get pods --all-namespaces || echo "Could not get current pod status."
|
kubectl get pods --all-namespaces || echo "Could not get current pod status."
|
||||||
{%- if config['Genesis:enable_operator'] is sameas true %}
|
{%- if config['Genesis:enable_operator'] is sameas true %}
|
||||||
kubectl get armadacharts \
|
kubectl get armadacharts -A -o wide || echo "Could not get current armada chart status."
|
||||||
-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."
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
else
|
else
|
||||||
log Armada bootstrap manifest deployed
|
log Armada bootstrap manifest deployed
|
||||||
|
Loading…
Reference in New Issue
Block a user