Skip to content

Add mongodbatlas static roles support #8987

Merged
ncabatoff merged 7 commits into
masterfrom
mongo-atlas-static-roles-test
May 29, 2020
Merged

Add mongodbatlas static roles support #8987
ncabatoff merged 7 commits into
masterfrom
mongo-atlas-static-roles-test

Conversation

@ncabatoff
Copy link
Copy Markdown
Collaborator

I incorporated some of my changes from my docker-test branch that weren't actually specific to testing with docker. They made these changes easier by allowing me to pre-create the PG container and have the rotation tests complete in 30s instead of several minutes.

The needed env var settings to run this test have been added to 1p. I'd like to add them to CircleCI as well if folks are ok with that.

Note that the test will fail until we apply hashicorp/vault-plugin-database-mongodbatlas#11.

@ncabatoff ncabatoff requested a review from catsby May 13, 2020 14:49
@ncabatoff
Copy link
Copy Markdown
Collaborator Author

Note that for once I broke the changes into meaningful changesets, so it might be easier to review this by looking at them individually.

@ncabatoff ncabatoff changed the title Mongo atlas static roles test Mongo atlas static roles support May 14, 2020
@mladlow mladlow added this to the 1.5 milestone May 18, 2020
catsby
catsby previously approved these changes May 20, 2020
Copy link
Copy Markdown
Contributor

@catsby catsby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@ncabatoff ncabatoff changed the title Mongo atlas static roles support Tests for mongo atlas static roles support May 21, 2020
…not the users exist beforehand, and bump the dependency so the test passes.
@ncabatoff
Copy link
Copy Markdown
Collaborator Author

This is ready to go as soon as I sort out whether my go.mod update without tag is kosher.

@ncabatoff ncabatoff changed the title Tests for mongo atlas static roles support Add mongodbatlas static roles support May 29, 2020
@ncabatoff
Copy link
Copy Markdown
Collaborator Author

Fixes #8966.

@ncabatoff ncabatoff merged commit 44fdbc7 into master May 29, 2020
@ncabatoff ncabatoff deleted the mongo-atlas-static-roles-test branch May 29, 2020 18:21
andaley pushed a commit that referenced this pull request Jul 17, 2020
* Refactor PG container creation.
* Rework rotation tests to use shorter sleeps.
* Refactor rotation tests.
* Add a static role rotation test for MongoDB Atlas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants