SEZ9 commented on PR #13277:
URL: https://github.com/apache/seatunnel/pull/13277#issuecomment-7203627966

   @LeonYoah thanks for the update and the clear rationale. I have not yet 
checked `73769e3156` against the diff, so the points below are noted as 
described, not confirmed. The earlier findings stay open until I have verified 
them in the code.
   
   **Described in your comment, still to be verified in the diff**
   - **Default behaviour (compatibility and security):** 
`application.master.http-port` is the single opt-in, and unset deployments are 
unchanged from `dev`. If the diff bears that out, it would address both the 
compatibility concern and the unauthenticated-by-default listener.
   - **HTTPS:** `configureMaster(...)` / `configureMasterHttp(...)` set 
`enableHttps = false`, and `overview.md` lists HTTPS as unsupported in this 
release.
   - **`SeatunnelApplicationConfig.configure(...)`:** restored so direct 
callers and workers keep HTTP and HTTPS disabled.
   
   **Not covered by your comment — could you clarify?**
   1. **Port collision:** is `application.master.http-port` validated against 
`application.master.port` with a clear configuration error, or does an equal 
value still fail with a bind error at master startup?
   2. **Opt-in without auth:** when `application.master.http-port` is set and 
basic auth is off in `seatunnel.yaml`, is a warning logged at startup? If not, 
please add one, since the REST API is then unauthenticated.
   3. **Docs, opt-in:** do the docs now describe the listener as opt-in instead 
of keeping the earlier `:::note` about the default, and does the Kubernetes FAQ 
security guidance match?
   4. **Docs, HTTPS:** does `configuration.md` say that 
`application.master.http-port` is HTTP only and that the master does not enable 
HTTPS?
   5. **Docs, overrides:** if the "solely by the `seatunnel.yaml`" wording is 
still there, please replace it with what the master overrides (enable flags, 
port, `enable-dynamic-port`, `port-range`) and what it inherits (`basicAuth`, 
`contextPath`, size limits).
   6. **Docs, credentials:** the security note should say that a 
`seatunnel.yaml` carrying basic-auth credentials should not be delivered 
through a ConfigMap, in line with the caution just above it.
   
   Once these are answered or pushed and the fresh CI run you mentioned has 
finished, I'll go through the diff and take another look.
   
   <!-- streview-comment:2630 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to