-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[v16] Machine ID: Add bitbucket
join method for Bitbucket Pipelines joining
#49337
[v16] Machine ID: Add bitbucket
join method for Bitbucket Pipelines joining
#49337
Conversation
…ng (#48724) * Add `bitbucket` join method for Bitbucket Pipelines joining This adds a new `bitbucket` join method that Machine ID bots can use to authenticate to Teleport from Bitbucket Pipelines CI runs. * Add unit tests for bitbucket joining This also fully adds `deployment_environment_uuid` which was found to be missing. * Fix imports * Update tf docs * Docs update * Update generated TF resources * Attempt to work around docs linter * Add provision token tests * Remove pipeline_uuid and step_uuid from protos Also, fix deploment_environment_uuid field name. * Remove references to removed fields in tests * Switch to go-oidc/v3 and remove now-redundant nbf check * Fix go.mod imports for the TF provider * Fix event-handler go.mod * Address review feedback; add 15s timeout to fetch provider metadata * Update lib/bitbucket/token_validator.go Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com> * Fix build after constant rename --------- Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
@timothyb89 - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes. |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
bitbucket
join method for Bitbucket Pipelines joining (#48724)bitbucket
join method for Bitbucket Pipelines joining
🤖 Vercel preview here: https://docs-41fp79jj8-goteleport.vercel.app/docs |
…bitbucket-pipelines-joining
🤖 Vercel preview here: https://docs-3yn0tmu0j-goteleport.vercel.app/docs |
Successfully retested this backport on my test cluster. Custom build at https://builds.cursed.industries/teleport-v16.4.8-linux-amd64-bin.tar.gz for anyone curious. Only minor changes from master and v17, though |
Backport of #48724 for branch/v16
bitbucket
join method for Bitbucket Pipelines joiningThis adds a new
bitbucket
join method that Machine ID bots can use to authenticate to Teleport from Bitbucket Pipelines CI runs.This also fully adds
deployment_environment_uuid
which was found to be missing.Fix imports
Update tf docs
Docs update
Update generated TF resources
Attempt to work around docs linter
Add provision token tests
Remove pipeline_uuid and step_uuid from protos
Also, fix deploment_environment_uuid field name.
Remove references to removed fields in tests
Switch to go-oidc/v3 and remove now-redundant nbf check
Fix go.mod imports for the TF provider
Fix event-handler go.mod
Address review feedback; add 15s timeout to fetch provider metadata
Update lib/bitbucket/token_validator.go
Fix build after constant rename
changelog: Support delegated joining for Bitbucket Pipelines in Machine ID