From e9b22bb15bc8127ed98dbdd48c2a071591f944ed Mon Sep 17 00:00:00 2001 From: scme0 Date: Sun, 12 Oct 2025 11:43:03 +0200 Subject: [PATCH 1/4] add appRevision to appStatus in promotion task crd --- .../_components/gitops-operator/crds/promotiontasks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml index cac9a9d6f..53499171c 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -482,6 +482,8 @@ spec: properties: appStatus: properties: + appRevision: + type: string health: description: Represents resource health status type: string @@ -520,6 +522,8 @@ spec: properties: appStatus: properties: + appRevision: + type: string health: description: Represents resource health status type: string @@ -608,6 +612,8 @@ spec: properties: appStatus: properties: + appRevision: + type: string health: description: Represents resource health status type: string From 6562155c39bf2282807b7bd291a72b21668f1c93 Mon Sep 17 00:00:00 2001 From: scme0 Date: Sun, 12 Oct 2025 13:40:47 +0200 Subject: [PATCH 2/4] update crd --- .../gitops-operator/crds/promotiontasks.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml index 53499171c..b248af30c 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -482,13 +482,13 @@ spec: properties: appStatus: properties: - appRevision: - type: string health: description: Represents resource health status type: string healthMessage: type: string + revision: + type: string sync: description: SyncStatusCode is a type which represents possible comparison results @@ -522,13 +522,13 @@ spec: properties: appStatus: properties: - appRevision: - type: string health: description: Represents resource health status type: string healthMessage: type: string + revision: + type: string sync: description: SyncStatusCode is a type which represents possible comparison results @@ -612,13 +612,13 @@ spec: properties: appStatus: properties: - appRevision: - type: string health: description: Represents resource health status type: string healthMessage: type: string + revision: + type: string sync: description: SyncStatusCode is a type which represents possible comparison results From 526a25d9f23161dbc41b377253060be7254e92b6 Mon Sep 17 00:00:00 2001 From: scme0 Date: Mon, 13 Oct 2025 09:42:09 +0200 Subject: [PATCH 3/4] add selectable fields --- .../_components/gitops-operator/crds/promotiontasks.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml index b248af30c..bf1e01f90 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -703,6 +703,9 @@ spec: required: - spec type: object + selectableFields: + - jsonPath: status.complete + - jsonPath: status.phase served: true storage: true subresources: From 032293c9270d5078ce1c0471f5d6bc9ca480deb1 Mon Sep 17 00:00:00 2001 From: scme0 Date: Mon, 13 Oct 2025 09:45:30 +0200 Subject: [PATCH 4/4] update --- .../_components/gitops-operator/crds/promotiontasks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml index bf1e01f90..416c00819 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -704,8 +704,8 @@ spec: - spec type: object selectableFields: - - jsonPath: status.complete - - jsonPath: status.phase + - jsonPath: .status.complete + - jsonPath: .status.phase served: true storage: true subresources: