CLOUDP-356692: Support for exporting Atlas resources using auto-generated CRDs#175
Merged
CLOUDP-356692: Support for exporting Atlas resources using auto-generated CRDs#175
Conversation
josvazg
reviewed
Feb 12, 2026
josvazg
reviewed
Feb 12, 2026
josvazg
reviewed
Feb 12, 2026
Collaborator
josvazg
left a comment
There was a problem hiding this comment.
q: is this properly disabled for now?
Collaborator
Author
No, I raised the question about put PR on hold vs feature flag. |
Collaborator
IMO we should make this an experimental feature only enabled with a compile time flag. Similar to the experimental support already have in the AKO repo. If you agree I could setup that up in a separate PR and let you rebase on top later. We will basically need to compile with a flag to get the experimental features and this would we one of them. we could try the UX manually or run e2e tests that leverage it. |
70ee936 to
82def59
Compare
ac498f8 to
317dcc1
Compare
40577b7 to
bded062
Compare
igor-karpukhin
approved these changes
May 6, 2026
josvazg
reviewed
May 6, 2026
josvazg
reviewed
May 6, 2026
josvazg
reviewed
May 6, 2026
josvazg
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
This PR introduces support for exporting Atlas resources using auto-generated CRDs.
Important notes
1. Since the generated CRDs are not yet publicly released, we cannot fetch them from the AKO GitHub releases like we do for the existing CRDs. Instead, we've introduced an Embedded CRD Provider that bundles the CRD definitions directly into the binary using Go's embed package.2. The resource exporters (GroupExporter, ClusterExporter, FlexClusterExporter, DatabaseUserExporter) reference types from the crapi testdata samples package. This is a temporary path because the generated CRD types are still internal to AKO and not yet published as a public API. Once the types are promoted to a public package, these imports will need to be updated.3. The go.mod currently points to the AKO main branch. This is necessary because the crapi translator and generated types are only available in unreleased commits. Once AKO cuts a new release containing these changes, we should update to point to the stable release version.Jira ticket: CLOUDP-356692
Checklist
make fmtand formatted my code