mongodb-atlas-cli icon indicating copy to clipboard operation
mongodb-atlas-cli copied to clipboard

[WIP] CLOUDP-278384: Support Independent ID config generation

Open josvazg opened this issue 1 year ago • 0 comments
trafficstars

Proposed changes

Support a new flag for Kubernetes config generation so that resources that support independent usage are exporting with external ID references, instead of Kubernetes name references. In version 2.5 that means Atlas Database Users and Deployments will be exported with external project IDs when using the --independentResource flag like this:

$ atlas kubernetes config generate --projectId=<projectId> --independentResources

Users should extract the parts of the generated YAAMl definition that make sense for their use case.

Jira ticket: CLOUDP-278384

Closes #[issue number]

Checklist

  • [X] I have signed the MongoDB CLA
  • [X] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • [ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • [ ] I have updated test/README.md (if an e2e test has been added)
  • [X] I have run make fmt and formatted my code

Further comments

josvazg avatar Oct 16 '24 16:10 josvazg