Skip to content

Commit

Permalink
Fix Kustomize patchesStrategicMerge deprecation warning (#2405)
Browse files Browse the repository at this point in the history
Signed-off-by: Antonin Stefanutti <[email protected]>
  • Loading branch information
astefanutti authored Jan 28, 2025
1 parent ee1b691 commit 7ed7368
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions manifests/v2/third-party/jobset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ configMapGenerator:
disableNameSuffixHash: true

# Add required patches.
patchesStrategicMerge:
- patches/jobset_remove_namespace.yaml # Remove namespace from the JobSet release manifests.
- patches/jobset_config_patch.yaml # Add custom manager config to the JobSet.
patches:
# Remove namespace from the JobSet release manifests.
- path: patches/jobset_remove_namespace.yaml
target:
group: ""
version: v1
kind: Namespace
# Add custom manager config to the JobSet.
- path: patches/jobset_config_patch.yaml
target:
group: apps
version: v1
kind: Deployment

0 comments on commit 7ed7368

Please sign in to comment.