]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator: reject spec-file input for oauth2-proxy apply 68699/head
authorShubha Jain <SHUBHA.JAIN1@ibm.com>
Mon, 4 May 2026 15:51:08 +0000 (21:21 +0530)
committerShubha Jain <SHUBHA.JAIN1@ibm.com>
Mon, 4 May 2026 16:01:11 +0000 (21:31 +0530)
commit78e5167e505bb13f3316c1917ee233837ca04bab
tree21425a883f136871952e5864fb7932e24a096e8e
parent8122f820d7458302de5be2fe685f5a5a3390285f
mgr/orchestrator: reject spec-file input for oauth2-proxy apply

Align oauth2-proxy apply handler with other service-specific commands
(mds, rgw, nfs) by rejecting -i (inbuf) usage upfront.

Remove spec-file parsing path and construct OAuth2ProxySpec from
command-line args. Validation is delegated to spec.validate().

Update tests accordingly.

Fixes: https://tracker.ceph.com/issues/76372
Signed-off-by: Shubha Jain <SHUBHA.JAIN1@ibm.com>
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/orchestrator/tests/test_orchestrator.py