• Juan Miguel Olmo Martínez's avatar
    ceph: dashboard - get right ssl port from ceph settings · 4700193b
    Juan Miguel Olmo Martínez authored
    
    
    Starting with Nautilus 14.2.1 the dashboard SSL port is readed from <<mgr/dashboard/ssl_server_port>> ceph setting.
    Previous versions use the port specified in <<mgr/dashboard/server_port>>
    
    Addressed @travisn suggestion about use of <ssl> attribute in conditional.
    This suggestion drove me to change the type of the SSl attribute (from *bool to bool) in the DashboardSpec Struct.
    This makes code more clean/safe and make sure that the SSL atribute has always a meaningful value.
    
    Now if you want to run the <secure dashboard> you need to set explicitly SSL to true, as is demonstrated in unit tests.
    
    [x] Code generation (make codegen) has been run to update object specifications
    Signed-off-by: default avatarJuan Miguel Olmo Martínez <jolmomar@redhat.com>
    4700193b