You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a new flag to block use of HTTP endpoints for sources #806
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.
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.
Activity
souleb commentedon Jun 30, 2022
note that, for helm sources at least, we can set the
insecure flag. This, would prevent users from doing so.pjbgf commentedon Jun 30, 2022
@souleb good point, that's like
Bucketobjects.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 anhttp://endpoint, both would result in an error.Add --insecure-allow-http flag to block insecure HTTP sources
Add --insecure-allow-http flag to block insecure HTTP sources