Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion server/bootserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ func handleHTTPBoot(w http.ResponseWriter, r *http.Request, k8sClient client.Cli
clientIPs = append(clientIPs, trimmedIP)
}
}
log.Info("X-Forwarded-For Header Found in the Request", "method", r.Method, "path", r.URL.Path, "clientIPs", clientIPs)
}

var httpBootConfigs bootv1alpha1.HTTPBootConfigList
Expand All @@ -309,7 +310,7 @@ func handleHTTPBoot(w http.ResponseWriter, r *http.Request, k8sClient client.Cli

var httpBootResponseData map[string]string
if len(httpBootConfigs.Items) == 0 {
log.Info("No HTTPBootConfig found for client IP, delivering default httpboot data", "clientIP", clientIP)
log.Info("No HTTPBootConfig found for client IP, delivering default httpboot data", "clientIPs", clientIPs)
httpBootResponseData = map[string]string{
"ClientIPs": strings.Join(clientIPs, ","),
"UKIURL": defaultUKIURL,
Expand Down