New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/dashboard: remove usage of 'rgw_frontend_ssl_key' #42305
mgr/dashboard: remove usage of 'rgw_frontend_ssl_key' #42305
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! apart from one small question. Thanks @avanthakkar (probably a unit test to make sure its not showing for type rgws)
...gr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
Outdated
Show resolved
Hide resolved
But we don't pass the ssl_key itself so Idk what to test here. It's just the visual difference you will see as I have attached the screenshot in PR description. |
b7629a8
to
6e9206d
Compare
@avanthakkar sorry i wasnt being clear, I was actually asking to test whether the field is present or not. Something like this in the rgw test area of the service component.
|
Fixes: https://tracker.ceph.com/issues/51643 Signed-off-by: Avan Thakkar <athakkar@redhat.com> Removing the usage of rgw_frontend_ssl_key from the rgw service form.
6e9206d
to
f6afed5
Compare
Yes you're right. Thanks @nizamial09 , updated the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks @avanthakkar !
<!-- ssl_key --> | ||
<div *ngIf="serviceForm.controls.ssl.value" | ||
<div *ngIf="serviceForm.controls.ssl.value && serviceForm.controls.service_type.value !== 'rgw'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we somehow indicate the user that they're expected to submit a concatenated certificate + key (.PEM-like format)?
Fixes: https://tracker.ceph.com/issues/51643
Signed-off-by: Avan Thakkar athakkar@redhat.com
Removing the usage of rgw_frontend_ssl_key from the rgw service form.
Before:
After:
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox