Skip to content

Commit 0051258

Browse files
Fixed not working Google KMS for Encryption at REST feature (#838)
1 parent 7a096f9 commit 0051258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/atlasproject/encryption_at_rest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func getAzureKeyVault(project *mdbv1.AtlasProject) (result mongodbatlas.AzureKey
191191
}
192192

193193
func getGoogleCloudKms(project *mdbv1.AtlasProject) (result mongodbatlas.GoogleCloudKms) {
194-
if project.Spec.EncryptionAtRest != nil {
194+
if project.Spec.EncryptionAtRest == nil {
195195
return
196196
}
197197

0 commit comments

Comments
 (0)