The government resigned, but the premier served as caretaker until new leaders could be elected.
An example of caretaker used as an adjective is in the phrase "caretaker director," which means a temporary director.
An example of a caretaker is a nurse who assists the elderly.
A caretaker government.
Johnson had to be drafted in as the caretaker manager after Hewlett resigned without warning the day before the final.