Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ EOF
. Create the `swift-ring-files` `ConfigMap` that includes the {object_storage} ring files:
+
----
$ oc apply -f - <<EOF
$ oc apply --server-side -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -42,6 +42,13 @@ binaryData:
object.ring.gz: $($CONTROLLER1_SSH "base64 -w0 /var/lib/config-data/puppet-generated/swift/etc/swift/object.ring.gz")
EOF
----
+
[NOTE]
====
The `--server-side` flag is required if the {object_storage} ring files
are large enough to exceed the annotation size limit imposed by the
client-side `oc apply`.
Comment thread
klgill marked this conversation as resolved.
====

. Patch the `OpenStackControlPlane` custom resource to deploy the {object_storage}:
+
Expand Down
2 changes: 1 addition & 1 deletion tests/roles/swift_adoption/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{ shell_header }}
{{ oc_header }}
CONTROLLER1_SSH="{{ controller1_ssh }}"
oc apply -f - <<EOF
oc apply --server-side -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down
Loading