Skip to content

Commit

Permalink
kustomize: replace patchesStrategicMerge by patches
Browse files Browse the repository at this point in the history
Use patches instead of patchesStrategicMerge with kustomize as
patchesStrategicMerge is deprecated.

Signed-off-by: Feruzjon Muyassarov <[email protected]>
  • Loading branch information
fmuyassarov authored and klihub committed Jan 25, 2024
1 parent 7f9cc23 commit d276112
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions deployment/operator/config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ resources:
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus

patchesStrategicMerge:
# 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.
- manager_auth_proxy_patch.yaml


patches:
- path: manager_auth_proxy_patch.yaml

0 comments on commit d276112

Please sign in to comment.