Skip to content

Commit

Permalink
Merge pull request rook#15188 from rook/mergify/bp/release-1.16/pr-15176
Browse files Browse the repository at this point in the history
doc: add object advanced config and vol mount example (backport rook#15176)
  • Loading branch information
travisn authored Dec 17, 2024
2 parents d61c516 + 80d11e6 commit 0a27580
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Documentation/CRDs/Object-Storage/ceph-object-store-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,36 @@ spec:

Once RGW debug logging is no longer needed, the values can simply be removed from the spec.

### Example - usage with `additionalVolumeMounts`

This sample configuration below demonstrates how advanced configuration can be used alongside
`additionalVolumeMounts`. This hypothetical scenario shows how a Kubernetes secret containing an
LDAP secret might be mounted to the RGW pod and how RGW would be configured to reference the mounted
secret file.

```yaml
# ...
gateway:
# ...
rgwConfig:
rgw_ldap_secret: /var/rgw/ldap/bindpass.secret
additionalVolumeMounts:
- subPath: ldap
volumeSource:
secret:
secretName: rgw-ldap
defaultMode: 0600
---
apiVersion: v1
kind: Secret
metadata:
name: rgw-ldap
namespace: rook-ceph
type: Opaque
data:
"bindpass.secret": aGVsbG8ud29ybGQK # hello.world
```

## Deleting a CephObjectStore

During deletion of a CephObjectStore resource, Rook protects against accidental or premature
Expand Down

0 comments on commit 0a27580

Please sign in to comment.