def METHOD_NAME(template: HelmTemplate):
    broker_url = "host:6380,password=password,ssl=True"
    backend_url = "host:6381,password=password,ssl=True"
    helm_values = DagsterHelmValues.construct(
        generateCeleryConfigSecret=True,
        runLauncher=RunLauncher.construct(type=RunLauncherType.CELERY),
        redis=Redis.construct(
            enabled=True,
            brokerUrl=broker_url,
            backendUrl=backend_url,
        ),
    )
    [secret] = template.render(helm_values)
    assert secret.data["DAGSTER_CELERY_BROKER_URL"] == base64.b64encode(
        bytes(broker_url, encoding="utf-8")
    ).decode("utf-8")
    assert secret.data["DAGSTER_CELERY_BACKEND_URL"] == base64.b64encode(
        bytes(backend_url, encoding="utf-8")
    ).decode("utf-8")