Commit ca79911
[OSPRH-19463] 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/crd/kustomization.yaml:
- Standardize webhook patch entries to use 'path:' format for consistency
- Ensure all commented patch entries use the modern 'path:' format
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-19463
Co-authored-by: Claude <claude@anthropic.com>1 parent 7ec4438 commit ca79911
3 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
0 commit comments