Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgnavar committed Dec 12, 2023
1 parent 1c9b4d9 commit f2768f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ if [ "$EXTERNAL_SECRET" ]; then

kubectl -n "$NAMESPACE" get es "$EXTERNAL_SECRET"

kubectl -n "$NAMESPACE" get es "$EXTERNAL_SECRET" -o json | jq '.status.conditions.[0].reason' | xargs

if [ "$(kubectl -n "$NAMESPACE" get es "$EXTERNAL_SECRET" -o json | jq '.status.conditions.[0].reason' | xargs)" == "SecretSynced" ]; then
echo "$EXTERNAL_SECRET OK"
else
Expand Down

0 comments on commit f2768f6

Please sign in to comment.