From 4bcd4db7656981813197e6b72b15bc2e02632410 Mon Sep 17 00:00:00 2001 From: Jordan Reimer Date: Fri, 8 Sep 2023 15:18:54 -0600 Subject: [PATCH] adds mount config details to kubernetes configuration view (#22926) * adds mount config details to kubernetes configuration view * adds changelog entry --- changelog/22926.txt | 3 +++ ui/lib/kubernetes/addon/components/page/configuration.hbs | 4 +++- .../components/kubernetes/page/configuration-test.js | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 changelog/22926.txt diff --git a/changelog/22926.txt b/changelog/22926.txt new file mode 100644 index 0000000000..69da688a10 --- /dev/null +++ b/changelog/22926.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Adds mount configuration details to Kubernetes secrets engine configuration view +``` \ No newline at end of file diff --git a/ui/lib/kubernetes/addon/components/page/configuration.hbs b/ui/lib/kubernetes/addon/components/page/configuration.hbs index e78f1d2958..bede4356fc 100644 --- a/ui/lib/kubernetes/addon/components/page/configuration.hbs +++ b/ui/lib/kubernetes/addon/components/page/configuration.hbs @@ -28,4 +28,6 @@ {{/if}} {{else}} -{{/if}} \ No newline at end of file +{{/if}} + + \ No newline at end of file diff --git a/ui/tests/integration/components/kubernetes/page/configuration-test.js b/ui/tests/integration/components/kubernetes/page/configuration-test.js index 99cf070c7f..19129d5b34 100644 --- a/ui/tests/integration/components/kubernetes/page/configuration-test.js +++ b/ui/tests/integration/components/kubernetes/page/configuration-test.js @@ -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(); assert.dom('.title svg').hasClass('flight-icon-kubernetes', 'Kubernetes icon 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]') .hasText('Configure Kubernetes', 'Toolbar action has correct text'); 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) {