Skip to content
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

Workload ID: Add WorkloadIdentity local service and cache config #49942

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

strideynet
Copy link
Contributor

@strideynet strideynet commented Dec 9, 2024

Depends on #49650

Adds the lib/services/local and lib/cache implementation for the WorkloadIdentity Resource.

This content was originally in PR #49639 which had two approvals - but was split out to avoid an XLarge PR.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-49942.d3pp5qlev8mo18.amplifyapp.com

@strideynet strideynet changed the title Add WorkloadIdentity store and cache Workload ID: Add WorkloadIdentity local service and cache config Dec 9, 2024
@strideynet strideynet added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v16 backport/branch/v17 labels Dec 9, 2024
@strideynet strideynet marked this pull request as ready for review December 9, 2024 15:25
lib/services/local/workload_identity.go Outdated Show resolved Hide resolved
lib/services/local/workload_identity.go Outdated Show resolved Hide resolved
lib/cache/resource_workload_identity.go Outdated Show resolved Hide resolved
Comment on lines +81 to +82
case s == nil:
return trace.BadParameter("object cannot be nil")
Copy link
Contributor

Choose a reason for hiding this comment

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

nil is a perfectly valid empty read-only protobuf message object 😭

@strideynet strideynet enabled auto-merge December 10, 2024 09:03
@strideynet strideynet added this pull request to the merge queue Dec 10, 2024
Merged via the queue into master with commit c6e46e3 Dec 10, 2024
41 checks passed
@strideynet strideynet deleted the strideynet/add-workload-identity-service-and-cache branch December 10, 2024 09:42
@public-teleport-github-review-bot

@strideynet See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Failed

strideynet added a commit that referenced this pull request Dec 10, 2024
)

* Add WorkloadIdentity store and cache

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/cache/resource_workload_identity.go

Co-authored-by: Edoardo Spadolini <[email protected]>

---------

Co-authored-by: Edward Dowling <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>
strideynet added a commit that referenced this pull request Dec 10, 2024
)

* Add WorkloadIdentity store and cache

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/cache/resource_workload_identity.go

Co-authored-by: Edoardo Spadolini <[email protected]>

---------

Co-authored-by: Edward Dowling <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 10, 2024
#49942) (#49990)

* Workload ID: Add WorkloadIdentity local service and cache config (#49942)

* Add WorkloadIdentity store and cache

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/services/local/workload_identity.go

Co-authored-by: Edward Dowling <[email protected]>

* Update lib/cache/resource_workload_identity.go

Co-authored-by: Edoardo Spadolini <[email protected]>

---------

Co-authored-by: Edward Dowling <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>

* Fix for v16

* Fix dodgy backport with incorrect Kind

---------

Co-authored-by: Edward Dowling <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 10, 2024
) (#49988)

* Add WorkloadIdentity store and cache

* Update lib/services/local/workload_identity.go



* Update lib/services/local/workload_identity.go



* Update lib/cache/resource_workload_identity.go



---------

Co-authored-by: Edward Dowling <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v16 backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/lg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants