JobSubmitRequest gains a FromHost field, populated in BuildJobRequest() via os.Hostname(). Matches how traditional batch schedulers report the submitting host, and sidesteps having the server derive it from the connection (which apiserver was doing via ctx.ClientIP() -- an IP not a hostname, and spoofable via X-Forwarded-For since this apiserver never configures gin's TrustedProxies). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgYRU3zDTqNGV5Jk8aiKLg |
||
|---|---|---|
| .. | ||
| apiserver | ||
| docs | ||
| tests/regression | ||
| xcecli | ||
| CLAUDE.md | ||
| Makefile | ||
| meson.build | ||