Skip to content

Commit

Permalink
Update kustomization files to latest standard
Browse files Browse the repository at this point in the history
This removes deprecation warning when applying kustomize to the files

Signed-off-by: Romain Arnaud <rarnaud@redhat.com>
  • Loading branch information
Roming22 authored and tekton-robot committed Apr 28, 2023
1 parent 70c2a68 commit 2a0ff77
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 6 additions & 2 deletions config/components/local-db/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ kind: Component
resources:
- 201-sql-deployment.yaml

patchesStrategicMerge:
- api.yaml
patches:
- target:
kind: Deployment
name: api
namespace: tekton-pipelines
path: api.yaml
12 changes: 8 additions & 4 deletions release/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
bases:
- ../config/overlays/default-local-db
commonLabels:
# Leave this field as an environment variable - this is templated out during
# the release process to label all resources with the proper version.
app.kubernetes.io/version: devel
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../config/overlays/default-local-db
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/version: devel
2 changes: 1 addition & 1 deletion test/e2e/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resources:
- ../../../config/overlays/default-local-db
- rbac.yaml

patchesJson6902:
patches:
- target:
group: apps
version: v1
Expand Down

0 comments on commit 2a0ff77

Please sign in to comment.