This is an automated email from the ASF dual-hosted git repository.

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 7a448da89 fix deprecated labels for kustomize
7a448da89 is described below

commit 7a448da89815a46ab9ec556c9dea45d674e07684
Author: Pranav Singh <pranavsing...@hotmail.com>
AuthorDate: Sat Nov 30 14:20:52 2024 +0530

    fix deprecated labels for kustomize
    
    Signed-off-by: Pranav Singh <pranavsing...@hotmail.com>
---
 pkg/resources/config/crd/kustomization.yaml       | 6 ++++--
 pkg/resources/config/manifests/kustomization.yaml | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/pkg/resources/config/crd/kustomization.yaml 
b/pkg/resources/config/crd/kustomization.yaml
index 26d026981..344f03ee1 100644
--- a/pkg/resources/config/crd/kustomization.yaml
+++ b/pkg/resources/config/crd/kustomization.yaml
@@ -27,5 +27,7 @@ resources:
 - bases/camel.apache.org_kamelets.yaml
 - bases/camel.apache.org_pipes.yaml
 
-commonLabels:
-  app: camel-k
+labels:
+  - pairs:
+      app: camel-k
+    includeSelectors: true
diff --git a/pkg/resources/config/manifests/kustomization.yaml 
b/pkg/resources/config/manifests/kustomization.yaml
index 289d3aa8c..e4c6d3ced 100644
--- a/pkg/resources/config/manifests/kustomization.yaml
+++ b/pkg/resources/config/manifests/kustomization.yaml
@@ -18,8 +18,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization
 
 # Labels to add to all resources and selectors.
-commonLabels:
-  app: camel-k
+labels:
+  - pairs:
+      app: camel-k
+    includeSelectors: true
 
 resources:
 - ../manager

Reply via email to