Files
my-rook-config/deploy/examples/bucket-topic.yaml
T
Yuval Lifshitz c99e2a37fd rgw: add HTTP CloudEvent endpoints to CephBucketNotification CR
this add a configuration parameter that allows an RGW, from
Ceph Quincy (v17) and on, to send bucket notifications to an HTTP CloudEvents
endpoint.
Header format:
https://github.com/cloudevents/spec/blob/main/cloudevents/adapters/aws-s3.md

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-01-13 12:08:40 +02:00

28 lines
892 B
YAML

apiVersion: ceph.rook.io/v1
kind: CephBucketTopic
metadata:
name: my-topic
# the topic should be created in the app namespace
spec:
objectStoreName: my-store
objectStoreNamespace: rook-ceph
opaqueData: my@email.com
persistent: false
endpoint:
http:
uri: http://my-notification-endpoint:8080
# uri: https://my-notification-endpoint:8443
disableVerifySSL: true
sendCloudEvents: false # supported only in Ceph Quincy (v17) or newer
# amqp:
# uri: amqp://my-rabbitmq-service:5672/vhost1
# uri: amqps://my-rabbitmq-service:5671/vhost1
# disableVerifySSL: true
# ackLevel: broker # none, broker(default), routable
# exchange: my-exchange # mandatory field for amqp
# kafka:
# uri: kafka://my-kafka-service:9092
# disableVerifySSL: true
# ackLevel: broker # none, broker (default)
# useSSL: false