def METHOD_NAME():
    """image names should always contain the new repository when it is
    specified."""
    repository = "bob-the-registry"
    docs = render_chart(
        values={
            "global": {"privateRegistry": {"enabled": True, "repository": repository}}
        },
    )
    # there should be lots of image hits
    assert len(docs) > 50
    differently_named_images = []
    for doc in docs:
        doc_images = jmespath.search("spec.template.spec.containers[*].image", doc)
        if doc_images is not None:
            for image in doc_images:
                if not image.startswith(repository):
                    print(
                        f"{image} did not begin with specified repository - {repository}"
                    )
                    differently_named_images.append(image)
    assert not differently_named_images, differently_named_images