all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: David Riley <d.riley@proxmox.com>
To: pbs-devel@lists.proxmox.com
Cc: David Riley <d.riley@proxmox.com>
Subject: [PATCH proxmox-backup] fix #7933: ui: datastore summary: display s3 endpoint
Date: Fri, 28 Aug 2026 11:14:27 +0200	[thread overview]
Message-ID: <20260828091427.97101-1-d.riley@proxmox.com> (raw)

Add the S3 endpoint ID to the datastore summary.
This provides users with immediate visibility into which S3 endpoint
is configured for the datastore without having to check the
configuration file.

Link: https://bugzilla.proxmox.com/show_bug.cgi?id=7933
Signed-off-by: David Riley <d.riley@proxmox.com>
---
 www/datastore/Summary.js | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js
index d118eb7e5..775a52cbf 100644
--- a/www/datastore/Summary.js
+++ b/www/datastore/Summary.js
@@ -150,6 +150,15 @@ Ext.define('PBS.DataStoreS3Stats', {
     bodyPadding: 20,
 
     items: [
+        {
+            title: gettext('S3 Endpoint'),
+            printBar: false,
+            bind: {
+                data: {
+                    text: '{client}',
+                },
+            },
+        },
         {
             xtype: 'box',
             html: `<b>${gettext('S3 traffic:')}</b>`,
@@ -552,6 +561,11 @@ Ext.define('PBS.DataStoreSummary', {
             success: function (response) {
                 let data = response.result.data;
 
+                let backend = PBS.Utils.parsePropertyString(data.backend);
+                if (backend?.type === 's3') {
+                    me.getViewModel().set('client', backend.client);
+                }
+
                 const removable = !!data['backing-device'];
                 me.lookupReferenceHolder()
                     .lookupReference('mountButtonSeparator')
-- 
2.47.3





                 reply	other threads:[~2026-08-28  9:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260828091427.97101-1-d.riley@proxmox.com \
    --to=d.riley@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal