mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
adds mount config details to kubernetes configuration view (#22926)
* adds mount config details to kubernetes configuration view * adds changelog entry
This commit is contained in:
3
changelog/22926.txt
Normal file
3
changelog/22926.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:improvement
|
||||||
|
ui: Adds mount configuration details to Kubernetes secrets engine configuration view
|
||||||
|
```
|
||||||
@@ -28,4 +28,6 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<ConfigCta />
|
<ConfigCta />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<SecretsEngineMountConfig @model={{@backend}} class="has-top-margin-xl has-bottom-margin-xl" data-test-mount-config />
|
||||||
@@ -56,7 +56,7 @@ module('Integration | Component | kubernetes | Page::Configuration', function (h
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
test('it should render tab page header and config cta', async function (assert) {
|
test('it should render tab page header, config cta and mount config', async function (assert) {
|
||||||
await this.renderComponent();
|
await this.renderComponent();
|
||||||
assert.dom('.title svg').hasClass('flight-icon-kubernetes', 'Kubernetes icon renders in title');
|
assert.dom('.title svg').hasClass('flight-icon-kubernetes', 'Kubernetes icon renders in title');
|
||||||
assert.dom('.title').hasText('kubernetes-test', 'Mount path renders in title');
|
assert.dom('.title').hasText('kubernetes-test', 'Mount path renders in title');
|
||||||
@@ -64,6 +64,7 @@ module('Integration | Component | kubernetes | Page::Configuration', function (h
|
|||||||
.dom('[data-test-toolbar-config-action]')
|
.dom('[data-test-toolbar-config-action]')
|
||||||
.hasText('Configure Kubernetes', 'Toolbar action has correct text');
|
.hasText('Configure Kubernetes', 'Toolbar action has correct text');
|
||||||
assert.dom('[data-test-config-cta]').exists('Config cta renders');
|
assert.dom('[data-test-config-cta]').exists('Config cta renders');
|
||||||
|
assert.dom('[data-test-mount-config]').exists('Mount config renders');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('it should render message for inferred configuration', async function (assert) {
|
test('it should render message for inferred configuration', async function (assert) {
|
||||||
|
|||||||
Reference in New Issue
Block a user