-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OIDC k8s provider #1576
base: main
Are you sure you want to change the base?
Add OIDC k8s provider #1576
Conversation
- name: "oidc-auth-test-k8s" | ||
commands: | ||
- command: ec2.assume_role | ||
params: | ||
role_arn: ${aws_test_secrets_role} | ||
duration_seconds: 1800 | ||
- func: "oidc-auth-test-k8s-func" | ||
vars: | ||
VARIANT: eks | ||
# - func: "oidc-auth-test-k8s-func" TODO disabled, memory issue, consider forking and increasing here: https://github.com/mongodb-labs/drivers-evergreen-tools/commit/4bc3e500b6f0e8ab01f052c4a1bfb782d6a29b4e | ||
# vars: | ||
# VARIANT: gke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variant is disabled due to failure:
[2024/12/05 13:34:17.109] Compiling build file '/tmp/test/build.gradle' using BuildScriptTransformer.
[2024/12/05 13:34:17.109] Starting process 'command 'git''. Working directory: /tmp/test Command: git describe --tags --always --dirty
[2024/12/05 13:34:22.782] debconf: delaying package configuration, since apt-utils is not installed
[2024/12/05 13:34:22.782] command terminated with exit code 137
See note in TODO comment (must be removed before merging).
Otherwise, eks and aks are both passing.
87a54fb
to
05f6ba2
Compare
new DropDatabaseOperation(getDefaultDatabaseName(), WriteConcern.ACKNOWLEDGED).execute(getBinding()); | ||
try { | ||
new DropDatabaseOperation(getDefaultDatabaseName(), WriteConcern.ACKNOWLEDGED).execute(getBinding()); | ||
} catch (MongoCommandException e) { | ||
// if we do not have permission to drop the database, assume it is cleaned up in some other way | ||
if (!e.getMessage().contains("Command dropDatabase requires authentication")) { | ||
throw e; | ||
} | ||
} | ||
cluster.close(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of this PR, we will sometimes lack permission to drop the database.
JAVA-5405