diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts')
-rwxr-xr-x | src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts new file mode 100755 index 000000000..0d4b67d43 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts @@ -0,0 +1,29 @@ +import { Component, Input, OnChanges } from '@angular/core'; + +import _ from 'lodash'; + +@Component({ + selector: 'cd-configuration-details', + templateUrl: './configuration-details.component.html', + styleUrls: ['./configuration-details.component.scss'] +}) +export class ConfigurationDetailsComponent implements OnChanges { + @Input() + selection: any; + flags = { + runtime: $localize`The value can be updated at runtime.`, + no_mon_update: $localize`Daemons/clients do not pull this value from the + monitor config database. We disallow setting this option via 'ceph config + set ...'. This option should be configured via ceph.conf or via the + command line.`, + startup: $localize`Option takes effect only during daemon startup.`, + cluster_create: $localize`Option only affects cluster creation.`, + create: $localize`Option only affects daemon creation.` + }; + + ngOnChanges() { + if (this.selection) { + this.selection.services = _.split(this.selection.services, ','); + } + } +} |