Skip to content

Create a new flag to block use of HTTP endpoints for sources #806

Open

Description

@pjbgf

A new flag could be created to block the use of HTTP endpoints for acquiring sources.
When enabled, the flag would not allow the use of the http scheme across all controller-level objects.

📝 To do:

  • Disable HTTP scheme for GitRepository.
    • Disable managed transport redirect from HTTP to HTTPS.
  • Disable HTTP scheme for HelmRepository.
    • Default type.
    • OCI type.
  • Disable HTTP scheme for Bucket.

Activity

  1. souleb commented on Jun 30, 2022

    @souleb
    Member

    note that, for helm sources at least, we can set the insecure flag. This, would prevent users from doing so.

  2. pjbgf commented on Jun 30, 2022

    @pjbgf
    MemberAuthor

    @souleb good point, that's like Bucket objects.

    When the flag (mentioned here) is set, that would block at controller level any HTTP/insecure transport. Meaning that if a specific object (Helm/Bucket) tries to use spec.Insecure=true, or use an http:// endpoint, both would result in an error.

  3. added a commit that references this issue on Aug 7, 2026
    c87250e
  4. added a commit that references this issue on Sep 4, 2026
    1a81bbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions