def METHOD_NAME(self, kube_version):
    """Test that certgenerator.extraAnnotations correctly inserts the annotations."""
    extraAnnotations = {"test": "test"}
    docs = render_chart(
        kube_version=kube_version,
        values={
            "airflow": {
                "pgbouncer": {
                    "enabled": True,
                    "sslmode": "require",
                }
            },
            "certgenerator": {
                "extraAnnotations": extraAnnotations,
            },
        },
        show_only="templates/generate-ssl.yaml",
    )
    assert len(docs) == 4
    assert (
        docs[3]["spec"]["template"]["metadata"]["annotations"] == extraAnnotations
    )