pr feedback

This commit is contained in:
Frostebite
2025-12-06 01:04:14 +00:00
parent 459b9298b2
commit dedb8810ff
4 changed files with 21 additions and 12 deletions

View File

@@ -39,6 +39,8 @@ class KubernetesJobSpecFactory {
endpointEnvNames.has(x.name) &&
(value.startsWith('http://localhost') || value.startsWith('http://127.0.0.1'))
) {
// Replace localhost with host.k3d.internal so pods can access host services
// This simulates accessing external services (like real AWS S3)
value = value
.replace('http://localhost', 'http://host.k3d.internal')
.replace('http://127.0.0.1', 'http://host.k3d.internal');