def METHOD_NAME(self, kube_version):
    """Validate the prometheus alerts configmap renders additional
    alerts."""
    additional_alerts = {
        "airflow": '- alert: ExampleAirflowAlert\n  expr: 100 * sum(increase(airflow_ti_failures[30m])) / (sum(increase(airflow_ti_failures[30m])) + sum(increase(airflow_ti_successes[30m]))) > 10\n  for: 15m\n  labels:\n    tier: airflow\n  annotations:\n    summary: The Astronomer Helm release {{ .Release.Name }} is failing task instances {{ printf "%q" "{{ printf \\"%.2f\\" $value }}%" }} of the time over the past 30 minutes\n    description: Task instances failing above threshold\n',
        "platform": '- alert: ExamplePlatformAlert\n  expr: count(rate(airflow_scheduler_heartbeat{}[1m]) <= 0) > 2\n  for: 5m\n  labels:\n    tier: platform\n    severity: critical\n  annotations:\n    summary: {{ printf "%q" "{{ $value }} airflow schedulers are not heartbeating" }}\n    description: "If more than 2 Airflow Schedulers are not heartbeating for more than 5 minutes, this alarm fires."\n',
    }
    docs = render_chart(
        kube_version=kube_version,
        show_only=self.show_only,
        name="foo-name",
        namespace="bar-ns",
        values={"prometheus": {"additionalAlerts": additional_alerts}},
    )
    config_yaml = docs[0]["data"]["alerts"]
    assert re.search(
        r'.*The Astronomer Helm release foo-name is failing task instances "{{ printf \\"%.2f\\" \$value }}\%" of the time over the past 30 minutes.*',
        config_yaml,
    )
    assert re.search(
        r".*If more than 2 Airflow Schedulers are not heartbeating for more than 5 minutes, this alarm fires..*",
        config_yaml,
    )