Commit 85f8953
Use server-side apply for swift-ring-files ConfigMap
Client-side `oc apply` writes the entire manifest into the
last-applied-configuration annotation, which can exceed the limit when Swift
ring files are large. Using `oc apply --server-side` avoids this annotation
entirely while remaining idempotent, unlike `oc create` which would fail on
retries if the resource already exists.
Closes: OSPRH-25258
Co-Authored-By: Claude Opus <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>1 parent ba2b031 commit 85f8953
2 files changed
Lines changed: 9 additions & 2 deletions
File tree
- docs_user/modules
- tests/roles/swift_adoption/tasks
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments