rgw: support kafka auth mechanism parameter

Ceph has support [1,2] for configuring which authentication
mechanism to use for bucket notifications using Kafka topics.

This commit adds the corresponding support to rook.

[1]: https://github.com/ceph/ceph/pull/48181/commits/d5dce601f65974a21c83c4b1add036030a75c3c4
[2]: https://tracker.ceph.com/issues/57608

Signed-off-by: Ragnar Dahlén <r.dahlen@gmail.com>
This commit is contained in:
Ragnar Dahlén committed 2025-03-24 21:53:49 +01:00
1 parent d05a4e88ca
commit 8bf7c679bb
9 files changed
+53 -3

No files matched your search

+1
View File
@@ -25,3 +25,4 @@ spec:
# disableVerifySSL: true
# ackLevel: broker # none, broker (default)
# useSSL: false
# mechanism: PLAIN
+10
View File
@@ -960,6 +960,16 @@ spec:
disableVerifySSL:
description: Indicate whether the server certificate is validated by the client or not
type: boolean
mechanism:
default: PLAIN
description: The authentication mechanism for this topic (PLAIN/SCRAM-SHA-512/SCRAM-SHA-256/GSSAPI/OAUTHBEARER)
enum:
- PLAIN
- SCRAM-SHA-512
- SCRAM-SHA-256
- GSSAPI
- OAUTHBEARER
type: string
uri:
description: The URI of the Kafka endpoint to push notification to
minLength: 1