Closed Razz4780 closed 2 months ago
We don't want a license to be needed for the non actual usage APIs. It should be fallible and optional.
We don't want a license to be needed for the non actual usage APIs. It should be fallible and optional.
Do you mean operator license or user license?
We don't want a license to be needed for the non actual usage APIs. It should be fallible and optional.
Do you mean operator license or user license?
I meant user license but we shouldn't check the operator license for getting it's status anyway
We don't want a license to be needed for the non actual usage APIs. It should be fallible and optional.
Do you mean operator license or user license?
I meant user license but we shouldn't check the operator license for getting it's status anyway
So, summarizing:
Correct?
I'd add the user license to the status too, just make it optional.
Closes #2466
CLI version and user name/hostname headers are sent with all operator requests. Client certificate header:
mirrord operator status
: we don't know operator license fingerprint before getting the resource, so header is not sent.mirrord exec
: as soon as we get the operator resource, we prepare the client cert header. If we fail, command aborts.mirrord ls
/mirrord operator session
: as soon as we get the operator resource, we try to prepare the client cert header. If we fail, we continue without itI kind of went full aggro on the operator client code and made more changes than necessary :V
mirrord ls
the extra discovery step present inmirrord exec
(https://github.com/metalbear-co/mirrord/issues/2487)