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

   @LeonYoah thanks for the detailed answers and for pushing `43a025c87e`. Your 
comment reaches me cut off partway through point 3 (it ends at "unset disables 
master HTTP and omits the"), so I can only respond to points 1, 2 and the start 
of 3. Could you repost the rest of point 3 and points 4–6?
   
   **On what I can read**
   
   1. **Port collision:** Eager validation at specification parsing with a 
clear error message, covered in `ApplicationSpecificationTest`, sounds like the 
right fix for the HTTP port. I haven't checked it against the diff yet, so I'll 
keep this open until I have. One follow-up: when HTTPS is enabled in 
`seatunnel.yaml`, is the HTTPS port also checked against 
`application.master.port`, or only `application.master.http-port`?
   2. **Startup WARN:** A `WARN` from 
`SeatunnelApplicationConfig.configureMasterHttp` when 
`application.master.http-port` is configured and `http.isEnableBasicAuth()` is 
`false`, naming the port and `seatunnel.engine.http.enable-basic-auth` without 
logging credentials, would cover the "nothing warns at startup" concern as you 
describe it. I'll confirm that against the diff as well before treating it as 
resolved.
   3. **Opt-in semantics:** If leaving `application.master.http-port` unset 
keeps master HTTP disabled, that would address the main compatibility and 
security concern. Please confirm that the bundled `seatunnel.yaml` alone no 
longer starts a listener on an Application Mode master.
   
   **Still open until I see the rest of your answer**
   
   - **Upgrade note:** With the opt-in model, is an `incompatible-changes.md` 
entry or upgrade note still needed? If the default behaviour is unchanged, 
please say so explicitly.
   - **FAQ:** What changed in the Kubernetes FAQ security guidance?
   - **HTTPS:** How does `application.master.http-port` behave when HTTPS is 
enabled? The earlier concern was that the published port is always named 
`http`, the submitter always prints an `http://` endpoint, and only one port 
can be published. Either the publication path should handle HTTPS, or the docs 
should keep HTTPS listed as unsupported in this release.
   - **Credentials:** Does the security note now say that a `seatunnel.yaml` 
carrying basic-auth credentials should not be delivered through a ConfigMap, 
consistent with the caution just above it?
   - **Overrides:** Do the docs now state that `enable-dynamic-port` and 
`port-range` are overridden on the master, rather than saying the listener is 
configured "solely by the `seatunnel.yaml`"?
   
   Once the remaining answers are posted, I'll go through them and the diff 
against these items.
   
   <!-- streview-comment:2652 -->


-- 
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