From bf4a138039b1ecd68dc83c1bcfa8adb5950e6292 Mon Sep 17 00:00:00 2001 From: pPrecel Date: Mon, 23 Sep 2024 14:48:13 +0200 Subject: [PATCH] support external access fields --- config/operator/base/ui-extensions/dockerregistry/details | 3 +++ config/operator/base/ui-extensions/dockerregistry/form | 4 ++++ .../operator/base/ui-extensions/dockerregistry/translations | 2 ++ 3 files changed, 9 insertions(+) diff --git a/config/operator/base/ui-extensions/dockerregistry/details b/config/operator/base/ui-extensions/dockerregistry/details index b1bdb49d..2fe72d76 100644 --- a/config/operator/base/ui-extensions/dockerregistry/details +++ b/config/operator/base/ui-extensions/dockerregistry/details @@ -45,6 +45,9 @@ body: - name: details.enabled visibility: "$exists($value)" source: status.externalAccess.enabled + - name: details.gateway + visibility: "$exists($value)" + source: status.externalAccess.gateway - name: details.access.pullAddress visibility: "$exists($value)" source: status.externalAccess.pullAddress diff --git a/config/operator/base/ui-extensions/dockerregistry/form b/config/operator/base/ui-extensions/dockerregistry/form index cd0d3d51..965c1b41 100644 --- a/config/operator/base/ui-extensions/dockerregistry/form +++ b/config/operator/base/ui-extensions/dockerregistry/form @@ -117,3 +117,7 @@ children: - name: details.enabled path: enabled + - name: details.gateway + path: gateway + - name: details.host + path: host diff --git a/config/operator/base/ui-extensions/dockerregistry/translations b/config/operator/base/ui-extensions/dockerregistry/translations index 117a6020..4852fedc 100644 --- a/config/operator/base/ui-extensions/dockerregistry/translations +++ b/config/operator/base/ui-extensions/dockerregistry/translations @@ -14,6 +14,8 @@ en: internalAccess: Internal Access externalAccess: External Access enabled: Enabled + gateway: Gateway + host: Host access: pullAddress: Pull Address pushAddress: Push Address