image-automation-controller/internal/source
abhijith-darshan 57516b14f7
(chore): adds tls config for GitHub App auth
this commit ensures that if ca.crt or caFile is available in the github app secret, a tls config with user provided certs is appended to system cert pool and passed to the underlying http transport

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): keeps implementation in-sync with source-controller

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): inline proxy detection

This commit removes getProxyOpts(...) helper func and uses pkg/runtime/secrets to retrieve proxy information from secret reference

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>

(chore): remove err formatting for secrets.ProxyURLFromSecretRef

Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>
2025-08-13 16:52:38 +02:00
..
testdata/appconfig Introduce source manager 2024-04-18 16:16:09 +05:30
git.go (chore): adds tls config for GitHub App auth 2025-08-13 16:52:38 +02:00
git_test.go (chore): adds tls config for GitHub App auth 2025-08-13 16:52:38 +02:00
source.go Refactor pkg structure 2025-08-11 20:23:26 +03:00
source_test.go Refactor pkg structure 2025-08-11 20:23:26 +03:00