fixed errors in main.sh where command "kubectl get certificate $TLS_SECRET_NAME" was not returning the READY status
This commit is contained in:
Родитель
876c230003
Коммит
cb8f6d7731
2
main.sh
2
main.sh
|
@ -190,7 +190,7 @@ while [ "$INPUT_STRING" != "true" ]
|
|||
do
|
||||
echo ""
|
||||
kubectl get certificate $TLS_SECRET_NAME
|
||||
INPUT_STRING=$(kubectl get certificate $TLS_SECRET_NAME -o=jsonpath='{.status.conditions[1].status}')
|
||||
INPUT_STRING=$(kubectl get certificate $TLS_SECRET_NAME -o=jsonpath='{.items[0].status.conditions[1].status}')
|
||||
echo ""
|
||||
done
|
||||
echo "COMPLETE @ $(date +"%T"): Verify Production Certificate works"
|
||||
|
|
Загрузка…
Ссылка в новой задаче