mirror of https://github.com/rancher/ui.git
Enable add labels and annotations while adding Config Maps
This commit is contained in:
parent
6234b1cd39
commit
480986ef54
|
|
@ -58,6 +58,16 @@
|
|||
}}
|
||||
</div>
|
||||
|
||||
<div class="row mt-20">
|
||||
<FormLabelsAnnotations
|
||||
@classNames="accordion-wrapper"
|
||||
@expandAll={{al.expandAll}}
|
||||
@initialLabels={{primaryResource.labels}}
|
||||
@model={{primaryResource}}
|
||||
@editing={{notView}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{{#accordion-list showExpandAll=false as | al expandFn |}}
|
||||
{{#if isView}}
|
||||
{{form-related-workloads
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ export default Resource.extend({
|
|||
router: service(),
|
||||
clusterStore: service(),
|
||||
|
||||
state: 'active',
|
||||
canClone: true,
|
||||
|
||||
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
||||
state: 'active',
|
||||
canClone: true,
|
||||
canHaveLabels: true,
|
||||
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
||||
|
||||
firstKey: alias('keys.firstObject'),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue