Skip to content

Commit

Permalink
use kustomize/v5 to drop deprecated patchesStrategicMerge
Browse files Browse the repository at this point in the history
kustomize complains that `patchesStrategicMerge` is deprecated, and its
use should be fixed. The following commands were issued to address it:

```
$ make kustomize
$ cd config/manager
$ ../../bin/kustomize edit fix
```

Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic committed Dec 12, 2023
1 parent 906c0e7 commit 4b28296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ resources:
# Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics
# endpoint w/o any authn/z, please comment the following line.
patchesStrategicMerge:
- manager_auth_proxy_patch.yaml

generatorOptions:
disableNameSuffixHash: true
Expand All @@ -33,3 +31,5 @@ images:
- name: rbac-proxy
newName: gcr.io/kubebuilder/kube-rbac-proxy
newTag: v0.8.0
patches:
- path: manager_auth_proxy_patch.yaml

0 comments on commit 4b28296

Please sign in to comment.