postgres-operator-examples icon indicating copy to clipboard operation
postgres-operator-examples copied to clipboard

Replace usage of deprecated Kustomize fields (`patchesJson6092`, `bases`)

Open kriswuollett opened this issue 2 years ago • 1 comments

The patchesJson6092 field is deprecated, see: https://github.com/kubernetes-sigs/kustomize/blob/adf760e246f158ef36478904460761043aed30fe/api/types/kustomization.go#L69-L73

The bases field is deprecated, see: https://github.com/kubernetes-sigs/kustomize/blob/adf760e246f158ef36478904460761043aed30fe/api/types/kustomization.go#L128-L129

Example warning seen when using kustomize v5.0.0:

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

There may be others, but only tried the default example.

kriswuollett avatar Feb 23 '23 03:02 kriswuollett

Hey @kriswuollett ,

Thanks for bringing this to our attention! I have created a ticket in our backlog to address this.

dsessler7 avatar Mar 09 '23 18:03 dsessler7