Skip to content

Commit

Permalink
style: removed commented code
Browse files Browse the repository at this point in the history
Signed-off-by: André Kesser <andre.kesser@dkb.de>
  • Loading branch information
André Kesser committed Aug 1, 2023
1 parent a0f05f1 commit eb63109
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/controller/kafka/cluster/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,11 +754,6 @@ func (u *updater) update(ctx context.Context, mg cpresource.Managed) (managed.Ex

if !encryptionUpToDate {
input.EncryptionInfo = generateEncryptionInfo(wanted.EncryptionInfo)

// input.EncryptionInfo.EncryptionAtRest = nil // "Updating encryption-at-rest settings on your cluster is not currently supported."
// if input.EncryptionInfo.EncryptionInTransit != nil {
// input.EncryptionInfo.EncryptionInTransit.InCluster = nil // "Updating the inter-broker encryption setting on your cluster is not currently supported."
// }
}

_, err := u.client.UpdateSecurityWithContext(ctx, input)
Expand Down

0 comments on commit eb63109

Please sign in to comment.