Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patchesStrategicMerge field in kustomization.yaml files is deprecated #11296

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/afxdp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- ../../apps/registry-k8s
- ../../apps/admission-webhook-k8s

patchesStrategicMerge:
- forwarder-vpp.yaml
patches:
- path: forwarder-vpp.yaml
4 changes: 2 additions & 2 deletions examples/features/annotated-namespace/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ resources:
- namespace.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/dns/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/exclude-prefixes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../../apps/nse-memif

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/ipv6/Kernel2Kernel_ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ resources:
- ../../../../apps/nsc-memif
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nsc.yaml
- patch-nse.yaml
patches:
- path: patch-nsc.yaml
- path: patch-nse.yaml
6 changes: 3 additions & 3 deletions examples/features/ipv6/Memif2IP2Memif_ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ resources:
- ../../../../apps/nsc-memif
- ../../../../apps/nse-memif

patchesStrategicMerge:
- patch-nsc.yaml
- patch-nse.yaml
patches:
- path: patch-nsc.yaml
- path: patch-nse.yaml
6 changes: 3 additions & 3 deletions examples/features/ipv6/Memif2Memif_ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ resources:
- ../../../../apps/nsc-memif
- ../../../../apps/nse-memif

patchesStrategicMerge:
- patch-nsc.yaml
- patch-nse.yaml
patches:
- path: patch-nsc.yaml
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/mutually-aware-nses/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ resources:
- config-file-nse-2.yaml
- ../../../apps/nsc-kernel

patchesStrategicMerge:
- patch-nsc.yaml
patches:
- path: patch-nsc.yaml
4 changes: 2 additions & 2 deletions examples/features/nse-composition/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ resources:
- nse-firewall
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml

configMapGenerator:
- name: nginx-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ kind: Kustomization
resources:
- ../../../../apps/nse-firewall-vpp

patchesStrategicMerge:
- patch-nse-firewall-vpp.yaml
- config-patch.yaml
patches:
- path: patch-nse-firewall-vpp.yaml
- path: config-patch.yaml
6 changes: 3 additions & 3 deletions examples/features/opa/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ resources:
- ../../../apps/nsc-kernel
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nsc.yaml
- patch-nse.yaml
patches:
- path: patch-nsc.yaml
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/policy-based-routing/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/scale-from-zero/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ resources:
- client.yaml
- ../../../apps/nse-supplier-k8s

patchesStrategicMerge:
- patch-supplier.yaml
patches:
- path: patch-supplier.yaml

configMapGenerator:
- name: supplier-pod-template-configmap
Expand Down
4 changes: 2 additions & 2 deletions examples/features/scaled-registry/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/select-forwarder/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- forwarder.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- nse-patch.yaml
patches:
- path: nse-patch.yaml
4 changes: 2 additions & 2 deletions examples/features/vl3-basic/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- ../../../apps/nse-vl3-vpp
- ../../../apps/vl3-ipam

patchesStrategicMerge:
- nse-patch.yaml
patches:
- path: nse-patch.yaml
4 changes: 2 additions & 2 deletions examples/features/vl3-dns/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ resources:
- ../../../apps/nse-vl3-vpp
- ../../../apps/vl3-ipam

patchesStrategicMerge:
- nse-patch.yaml
patches:
- path: nse-patch.yaml
6 changes: 2 additions & 4 deletions examples/features/vl3-ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ resources:
- ../../../apps/nse-vl3-vpp
- ../../../apps/vl3-ipam

patchesStrategicMerge:
- nse-patch.yaml
- ipam-patch.yaml

patches:
- path: nse-patch.yaml
- path: ipam-patch.yaml
- target:
version: v1
kind: Deployment
Expand Down
6 changes: 3 additions & 3 deletions examples/features/vl3-lb/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ resources:
- ../../../apps/vl3-ipam
- ../../../apps/vl3-lb

patchesStrategicMerge:
- nse-patch.yaml
- finance-lb-patch.yaml
patches:
- path: nse-patch.yaml
- path: finance-lb-patch.yaml
4 changes: 2 additions & 2 deletions examples/features/vl3-scale-from-zero/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ resources:
- ../../../apps/vl3-ipam
- ../../../apps/nse-supplier-k8s

patchesStrategicMerge:
- supplier-patch.yaml
patches:
- path: supplier-patch.yaml

configMapGenerator:
- name: supplier-pod-template-configmap
Expand Down
4 changes: 2 additions & 2 deletions examples/features/webhook-smartvf/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/features/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/dataplane-interrupt/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/local-forwarder-death/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- netsvc.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace: ns-local-nse-death
resources:
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ resources:
- ns-local-nse-death.yaml
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/local-nsm-system-restart/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ resources:
- ../../../apps/nsc-memif
- ../../../apps/nse-memif

patchesStrategicMerge:
- patch-nsc.yaml
- patch-nse.yaml
patches:
- path: patch-nsc.yaml
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ resources:
- ../../../../apps/nsc-memif
- ../../../../apps/nse-memif

patchesStrategicMerge:
- patch-nsc.yaml
patches:
- path: patch-nsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace: ns-local-nsmgr-local-nse-memif
resources:
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ resources:
- ns-local-nsmgr-local-nse-memif.yaml
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/local-nsmgr-remote-nsmgr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/local-nsmgr-restart/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ resources:
- ns-registry-local-endpoint.yaml
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace: ns-registry-local-endpoint
resources:
- ../base

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/registry-remote-forwarder/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/registry-remote-nsmgr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/remote-forwarder-death-ip/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
4 changes: 2 additions & 2 deletions examples/heal/remote-forwarder-death/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resources:
- client.yaml
- ../../../apps/nse-kernel

patchesStrategicMerge:
- patch-nse.yaml
patches:
- path: patch-nse.yaml
Loading
Loading