def METHOD_NAME(self, kube_version):
    """Test pgbouncer certgenerator sslmode opts result."""
    docs = render_chart(
        kube_version=kube_version,
        values={
            "airflow": {
                "registry": {"secretName": "gscsecret"},
                "pgbouncer": {"enabled": True, "sslmode": "require"},
            }
        },
        show_only="templates/generate-ssl.yaml",
    )
    assert len(docs) == 4
    assert [{"name": "gscsecret"}] == docs[3]["spec"]["template"]["spec"][
        "imagePullSecrets"
    ]