Skip to content

Commit

Permalink
fix: enable encryptionatrest and inCluster
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 f0cb1f7 commit a0f05f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/controller/kafka/cluster/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,10 @@ 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."
}
// 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 a0f05f1

Please sign in to comment.