def METHOD_NAME(template: HelmTemplate):
    redis_host = "host"
    redis_port = 6379
    broker_db_number = 20
    backend_db_number = 21
    helm_values = DagsterHelmValues.construct(
        generateCeleryConfigSecret=True,
        runLauncher=RunLauncher.construct(type=RunLauncherType.CELERY),
        redis=Redis.construct(
            enabled=True,
            usePassword=False,
            host=redis_host,
            port=redis_port,
            brokerDbNumber=broker_db_number,
            backendDbNumber=backend_db_number,
        ),
    )
    [secret] = template.render(helm_values)
    expected_celery_broker = f"redis://{redis_host}:{redis_port}/{broker_db_number}"
    expected_celery_backend = f"redis://{redis_host}:{redis_port}/{backend_db_number}"
    assert secret.data["DAGSTER_CELERY_BROKER_URL"] == base64.b64encode(
        bytes(expected_celery_broker, encoding="utf-8")
    ).decode("utf-8")
    assert secret.data["DAGSTER_CELERY_BACKEND_URL"] == base64.b64encode(
        bytes(expected_celery_backend, encoding="utf-8")
    ).decode("utf-8")