Set labels for resources.