rabbitmq / cluster-operator

RabbitMQ Cluster Kubernetes Operator
https://www.rabbitmq.com/kubernetes/operator/operator-overview.html
Mozilla Public License 2.0
884 stars 273 forks source link

`patchesStrategicMerge` in kustomization.yaml has been deprecated, switch to using `patches` #1548

Closed fortra-cloudops-platform closed 5 months ago

fortra-cloudops-platform commented 9 months ago

Describe the bug

Kustomize has deprecated the keyword patchesStrategicMerge used in kustomization.yaml files, this feature is now supported with the patches keyword. The switch/update should be done sooner rather than later as this could start breaking those who have updated their kustomize.

To Reproduce

Build deployment manifests using a recent version of kustomize

Expected behavior Expected not to see this when building with kustomize:

# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

Screenshots

If applicable, add screenshots to help explain your problem.

Version and environment information

github-actions[bot] commented 7 months ago

This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring.

Zerpet commented 7 months ago

Thank you for noticing this. A contribution would be most welcome.