From 7a448da89815a46ab9ec556c9dea45d674e07684 Mon Sep 17 00:00:00 2001 From: Pranav Singh Date: Sat, 30 Nov 2024 14:20:52 +0530 Subject: [PATCH] fix deprecated labels for kustomize Signed-off-by: Pranav Singh --- 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 26d0269818..344f03ee12 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 289d3aa8c2..e4c6d3ced6 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