From 419c53ec62de6e97a517abd5fdd4cbde3a942a34 Mon Sep 17 00:00:00 2001
From: GitLab Bot <gitlab-bot@gitlab.com>
Date: Thu, 19 Oct 2023 12:57:54 +0000
Subject: Add latest changes from gitlab-org/gitlab@16-5-stable-ee

---
 app/assets/javascripts/environments/components/kubernetes_tabs.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'app/assets/javascripts/environments/components/kubernetes_tabs.vue')

diff --git a/app/assets/javascripts/environments/components/kubernetes_tabs.vue b/app/assets/javascripts/environments/components/kubernetes_tabs.vue
index 4492d209e3b..7c699eec412 100644
--- a/app/assets/javascripts/environments/components/kubernetes_tabs.vue
+++ b/app/assets/javascripts/environments/components/kubernetes_tabs.vue
@@ -24,13 +24,14 @@ export default {
       variables() {
         return {
           configuration: this.configuration,
+          namespace: this.namespace,
         };
       },
       update(data) {
         return data?.k8sServices || [];
       },
       error(error) {
-        this.$emit('cluster-error', error);
+        this.$emit('cluster-error', error.message);
       },
     },
   },
@@ -139,6 +140,7 @@ export default {
       :configuration="configuration"
       @loading="$emit('loading', $event)"
       @failed="$emit('failed')"
+      @cluster-error="$emit('cluster-error', $event)"
     />
 
     <gl-tab>
-- 
cgit v1.2.3

