Skip to content

Commit

Permalink
fix deprecated labels for kustomize
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <[email protected]>
  • Loading branch information
theBeginner86 authored and gansheer committed Dec 2, 2024
1 parent 1123093 commit 7a448da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pkg/resources/config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions pkg/resources/config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a448da

Please sign in to comment.