You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[OSPRH-19301] Remove deprecated Kustomize fields in config dir
Update all deprecated Kustomize fields to their modern equivalents across
the config directory to ensure compatibility with Kustomize v5.3+ and
future versions.
Changes made:
config/default/kustomization.yaml:
- Replace 'bases:' with 'resources:'
- Replace 'patchesStrategicMerge:' with 'patches:'
- Convert patch entries to use 'path:' format
config/crd/kustomization.yaml:
- Replace 'patchesStrategicMerge:' with 'patches:'
- Update commented patch entries to use 'path:' format for both
webhook and cainjection patches
config/manifests/kustomization.yaml:
- Replace commented '#patchesJson6902:' with '#patches:'
config/scorecard/kustomization.yaml:
- Replace 'patchesJson6902:' with 'patches:'
- Update kubebuilder scaffold comment from 'patchesJson6902' to 'patches'
These changes eliminate deprecation warnings and align with the modern
Kustomize field syntax while maintaining full backward compatibility.
The modernization follows patterns established by other OpenStack K8s
operators and industry best practices.
Jira: https://issues.redhat.com/browse/OSPRH-19301
Co-authored-by: Claude <[email protected]>
0 commit comments