Skip to content

Commit

Permalink
CLOUDP-228588: Migrate Encryption at Rest (#1919)
Browse files Browse the repository at this point in the history
* add valid fields for gcp and az

* add translation layer

* implement translation layer

* remove old secret fields

* generate mocks

* add and update tests

* properly initialise EaR service in project controller

* fix panic

* add IsEnabled

* Update internal/translation/encryptionatrest/conversion.go

Co-authored-by: josvaz <jose.vazquez@mongodb.com>

* make generate

* fix panic

* fix semantic equals

* use nils for atlas

---------

Co-authored-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
Co-authored-by: josvaz <jose.vazquez@mongodb.com>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 9f40e55 commit 30b82ed
Show file tree
Hide file tree
Showing 14 changed files with 667 additions and 448 deletions.
1 change: 1 addition & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ packages:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/teams:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/privateendpoint:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/maintenancewindow:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/encryptionatrest:
1 change: 0 additions & 1 deletion internal/mocks/translation/atlas_deployments_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions internal/mocks/translation/encryption_at_rest_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 30b82ed

Please sign in to comment.