Skip to content

Commit f81405a

Browse files
chore: Comment the usages of SecretClassVolumeProvisionParts::PublicPrivate
1 parent 9a8dffe commit f81405a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rust/operator-binary/src/container.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ impl ContainerConfig {
279279
.ephemeral(
280280
SecretOperatorVolumeSourceBuilder::new(
281281
&authentication_config.tls_secret_class,
282+
// HDFS serves its own TLS endpoints, so the Pod needs both the public
283+
// certificate and the private key.
282284
SecretClassVolumeProvisionParts::PublicPrivate,
283285
)
284286
.with_pod_scope()
@@ -306,6 +308,7 @@ impl ContainerConfig {
306308
.ephemeral(
307309
SecretOperatorVolumeSourceBuilder::new(
308310
&authentication_config.kerberos.secret_class,
311+
// We need both public (krb5.conf) and private (keytab) parts.
309312
SecretClassVolumeProvisionParts::PublicPrivate,
310313
)
311314
.with_service_scope(hdfs.name_any())

0 commit comments

Comments
 (0)