Skip to content

Commit 9d649dd

Browse files
chore: Comment the usages of SecretClassVolumeProvisionParts
1 parent c4e3374 commit 9d649dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rust/operator-binary/src/crd/security.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ impl ZookeeperSecurity {
319319
.ephemeral(
320320
SecretOperatorVolumeSourceBuilder::new(
321321
secret_class_name,
322+
// Both the keystore and truststore are required for server TLS.
322323
SecretClassVolumeProvisionParts::PublicPrivate,
323324
)
324325
.with_listener_volume_scope(LISTENER_VOLUME_NAME)
@@ -344,6 +345,7 @@ impl ZookeeperSecurity {
344345
.ephemeral(
345346
SecretOperatorVolumeSourceBuilder::new(
346347
secret_class_name,
348+
// Both the keystore and truststore are required for quorum TLS.
347349
SecretClassVolumeProvisionParts::PublicPrivate,
348350
)
349351
.with_pod_scope()

0 commit comments

Comments
 (0)