Skip to content

Wrong naming "load-balancer.hetzner.cloud/http-redirect-http" #1069

Open

Description

@IBims1ckoky

TL;DR

I think this is wrong? The comment above says that this creates a redirect from http to https but the Annotation name is http-redirect-http?

// LBSvcRedirectHTTP create a redirect from HTTP to HTTPS.
//
// Type: bool
// Default: false
LBSvcRedirectHTTP Name = "load-balancer.hetzner.cloud/http-redirect-http"

Expected behavior

That the name is http-to-https.

Observed behavior

The name is http-to-http

Minimal working example

No response

Log output


Additional information

No response

Activity

  1. lukasmetzner commented on Nov 5, 2025

    @lukasmetzner
    Member

    Hey,

    this was chosen due to the API request schema for adding a service to a Hetzner Cloud Load Balancer:

    {
      "http": {
        "redirect_http": true
      }
    }

    I agree this is not ideal, but renaming this would be a breaking change. We already included this in our ideas for v2.0.0.

  2. self-assigned this
    on Nov 5, 2025
  3. added this to the v2.0.0 milestone on Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions