From 90e10c15cea015a7ffdd1c64817fe0f3d791bbd3 Mon Sep 17 00:00:00 2001
From: Jirka Kremser <jiri.kremser@gmail.com>
Date: Tue, 18 Mar 2025 16:09:56 +0100
Subject: [PATCH] Update additionalPrinterColumns for kedifyconfiguration CRD

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
---
 kedify-agent/files/kedify-configuration.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kedify-agent/files/kedify-configuration.yaml b/kedify-agent/files/kedify-configuration.yaml
index 5eacf1d5b..852957bdf 100644
--- a/kedify-agent/files/kedify-configuration.yaml
+++ b/kedify-agent/files/kedify-configuration.yaml
@@ -18,7 +18,7 @@ spec:
   versions:
   - additionalPrinterColumns:
     - description: KEDA version
-      jsonPath: .status.installations.keda.kedaVersion
+      jsonPath: .status.components.keda.version
       name: Version
       type: string
     - description: Installation mode
@@ -26,7 +26,7 @@ spec:
       name: Mode
       type: string
     - description: HTTTP Addon version
-      jsonPath: .status.installations.keda.httpAddonVersion
+      jsonPath: .status.deployments.httpAddon.version
       name: HTTP-Addon
       priority: 20
       type: string
@@ -35,7 +35,7 @@ spec:
       name: Agent
       type: string
     - description: Health of KEDA Operator
-      jsonPath: .status.installations.keda.deployments.keda-operator.phase
+      jsonPath: .status.components.keda.deployments.keda-operator.phase
       name: KEDA
       type: string
     - description: Health of aggregated API Service (v1beta1.external.metrics.k8s.io)
@@ -43,17 +43,17 @@ spec:
       name: API Service
       type: string
     - description: Health of KEDA's internal Metric Server
-      jsonPath: .status.installations.keda.deployments.keda-operator-metrics-apiserver.phase
+      jsonPath: .status.components.keda.deployments.keda-operator-metrics-apiserver.phase
       name: Metric Server
       priority: 20
       type: string
     - description: Health of KEDA's Admission controller
-      jsonPath: .status.installations.keda.deployments.keda-admission-webhooks.phase
+      jsonPath: .status.components.keda.deployments.keda-admission-webhooks.phase
       name: Admission
       priority: 20
       type: string
     - description: Health of KEDA's HTTP Addon interceptor
-      jsonPath: .status.installations.keda.deployments.keda-add-ons-http-interceptor.phase
+      jsonPath: .status.components.keda.deployments.keda-add-ons-http-interceptor.phase
       name: Interceptor
       priority: 20
       type: string