Generates resources with the given generator and adds them to the given store.
Settings from which the pod is being created.
Generator to be used.
Store to be updated.
The amount of resources that were added.
Generates resources with the given generator and adds them to the given store.