-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Amit Prinz Setter <[email protected]>
- Loading branch information
1 parent
1fd00fb
commit 7aafc9f
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Bucket Notifications | ||
|
||
## NooBaa CRD configuration | ||
|
||
NooBaa CRD contains a field named 'bucketNotifications' (under "spec" field) that manages bucket notifications. | ||
|
||
bucketNotifications value is an object: | ||
|
||
{ | ||
enabled: Boolean, | ||
pvc: String, | ||
connections: [SecretReference] | ||
} | ||
|
||
- enabled: This field must be set to true to enable bucket notifications. | ||
- pvc: Bucket notifications uses a PVC to store pending notifications. | ||
This field is used to specify an existing PVC to use. | ||
The PVC must support RWX access mode. | ||
If CephFS is available, and this field is left empty, a PVC would be allocated from CephFS. | ||
- connections: An array of secrets that contain the data on how to connect to the external notification server. | ||
|
||
## Connection secrets | ||
The structure of a connection secret is the same as connection file. | ||
Please refer to the Bucket Notification document in [noobaa-core](https://github.com/noobaa/noobaa-core/blob/master/docs/bucket-notifications.md). | ||
The operator will mount the secrets as files in the core pod at /etc/notif_connect/. |