Skip to content

Commit

Permalink
Add RGW Swift config options
Browse files Browse the repository at this point in the history
Add following rgw swift options
* rgw_swift_versioning_enabled
* rgw_swift_enforce_content_length
* rgw_swift_custom_header

Signed-Off-By: Hemanth Nakkina <[email protected]>
  • Loading branch information
hemanthnakkina authored and UtkarshBhatthere committed Jul 12, 2024
1 parent 7b711de commit c79b31d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/how-to/integrate-keystone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ MicroCeph supports setting the following Keystone config keys:
- Whether to create new users in their own tenants of the same name
* - rgw_swift_account_in_url
- Whether the Swift account is encoded in the URL path
* - rgw_swift_versioning_enabled
- Enables object versioning
* - rgw_swift_enforce_content_length
- Whether content length header is needed when listing containers
* - rgw_swift_custom_header
- Enable swift custom header

A user can set/get/list/reset the above mentioned config keys as follows:

Expand Down Expand Up @@ -99,4 +105,4 @@ For detailed documentation of what keys should be configured, visit `Ceph Docs`_
.. LINKS
.. _Openstack Keystone: https://docs.openstack.org/keystone/latest/getting-started/architecture.html#identity
.. _Ceph Docs: https://docs.ceph.com/en/latest/radosgw/keystone/
.. _Ceph Docs: https://docs.ceph.com/en/latest/radosgw/keystone/
3 changes: 3 additions & 0 deletions microceph/ceph/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ func GetConstConfigTable() ConfigTable {
"rgw_keystone_verify_ssl": {"global", []string{"rgw"}},
"rgw_keystone_implicit_tenants": {"global", []string{"rgw"}},
"rgw_swift_account_in_url": {"global", []string{"rgw"}},
"rgw_swift_versioning_enabled": {"global", []string{"rgw"}},
"rgw_swift_enforce_content_length": {"global", []string{"rgw"}},
"rgw_swift_custom_header": {"global", []string{"rgw"}},
}
}

Expand Down

0 comments on commit c79b31d

Please sign in to comment.