# Functions

EnsureAstarteUpgrade ensures that CR with requested newVersion will be upgraded from oldVersion, if needed.