From 60e5c972fcb9217275893fdf6b99de58ea36ebd1 Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Thu, 7 May 2026 21:59:38 +0200 Subject: [PATCH] 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 Signed-off-by: Francesco Pantano --- .../proc_adopting-the-object-storage-service.adoc | 9 ++++++++- tests/roles/swift_adoption/tasks/main.yaml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs_user/modules/proc_adopting-the-object-storage-service.adoc b/docs_user/modules/proc_adopting-the-object-storage-service.adoc index 85d1d89dd..6c6ddf767 100644 --- a/docs_user/modules/proc_adopting-the-object-storage-service.adoc +++ b/docs_user/modules/proc_adopting-the-object-storage-service.adoc @@ -30,7 +30,7 @@ EOF . Create the `swift-ring-files` `ConfigMap` that includes the {object_storage} ring files: + ---- -$ oc apply -f - <