def METHOD_NAME(self, kube_version):
    """Test that helm renders a good statefulset template for astronomer
    registry."""
    docs = render_chart(
        kube_version=kube_version,
        show_only=[
            "charts/astronomer/templates/registry/registry-statefulset.yaml"
        ],
    )
    assert len(docs) == 1
    doc = docs[0]
    assert doc["kind"] == "StatefulSet"
    assert doc["apiVersion"] == "apps/v1"
    assert doc["metadata"]["name"] == "release-name-registry"
    assert any(
        "quay.io/astronomer/ap-registry:" in item
        for item in jmespath.search("spec.template.spec.containers[*].image", doc)
    )