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 CRUD gRPC Service #49639

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

strideynet
Copy link
Contributor

@strideynet strideynet commented Dec 2, 2024

Closes #49572

Depends on #49942

@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from 688632f to 2dfbfcd Compare December 2, 2024 17:06
@strideynet strideynet changed the base branch from master to strideynet/workload-identity-pbuf-and-events December 2, 2024 17:08
@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from 2dfbfcd to de0b12d Compare December 2, 2024 17:10
@strideynet strideynet added backport/branch/v16 backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry labels Dec 4, 2024
@strideynet strideynet changed the title Strideynet/workload identity crud Workload ID: Add CRUD RPCs and Audit Events for WorkloadIdentity resource Dec 4, 2024
@strideynet strideynet marked this pull request as ready for review December 4, 2024 13:53
@public-teleport-github-review-bot

@strideynet - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from 07c4513 to 0233d81 Compare December 4, 2024 15:33
@strideynet strideynet force-pushed the strideynet/workload-identity-pbuf-and-events branch from 514381a to 1a4ee2f Compare December 4, 2024 15:33
@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from 0233d81 to a676d7e Compare December 4, 2024 15:37
@strideynet strideynet force-pushed the strideynet/workload-identity-pbuf-and-events branch from 1a4ee2f to f560fad Compare December 4, 2024 15:37
lib/auth/auth.go Outdated Show resolved Hide resolved
lib/services/local/workload_identity.go Outdated Show resolved Hide resolved
Comment on lines 105 to 112
// Ensure exactly one operator is set.
operatorsSet := 0
if condition.Equals != "" {
operatorsSet++
}
if operatorsSet == 0 || operatorsSet > 1 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just in preparation for more than Equals?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah - that's correct. Eventually there will be 4-5 different operators. I've just omitted them from this PR because I want to wait until the RFD is firmed up and I didn't want to balloon this PR any bigger than it already is.

Base automatically changed from strideynet/workload-identity-pbuf-and-events to master December 6, 2024 12:00
@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from be8e8b9 to 472b918 Compare December 9, 2024 09:47
@strideynet
Copy link
Contributor Author

Going to split this PR out into 2/3 PRs to get the line count below XL limit.

@strideynet strideynet force-pushed the strideynet/workload-identity-crud branch from 9fb2f88 to 75e38b9 Compare December 9, 2024 15:22
@strideynet strideynet changed the base branch from master to strideynet/add-workload-identity-service-and-cache December 9, 2024 15:22
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from timothyb89 December 9, 2024 15:22
@strideynet strideynet changed the title Workload ID: Add CRUD RPCs and Audit Events for WorkloadIdentity resource Workload ID: Add WorkloadIdentity CRUD gRPC Service Dec 9, 2024
@strideynet
Copy link
Contributor Author

Cache/Local Service changes have been rebased into a new PR: #49942

Base automatically changed from strideynet/add-workload-identity-service-and-cache to master December 10, 2024 09:42
@strideynet strideynet enabled auto-merge December 10, 2024 09:46
@strideynet strideynet added this pull request to the merge queue Dec 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2024
@strideynet strideynet added this pull request to the merge queue Dec 10, 2024
Merged via the queue into master with commit 904d4f9 Dec 10, 2024
41 checks passed
@strideynet strideynet deleted the strideynet/workload-identity-crud branch December 10, 2024 10:53
@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

* Add WorkloadIdentity CRUD service
strideynet added a commit that referenced this pull request Dec 10, 2024
* Add WorkloadIdentity store and cache

* Add WorkloadIdentity CRUD service
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2024
* Add WorkloadIdentity store and cache

* Add WorkloadIdentity CRUD service
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2024
* Add WorkloadIdentity store and cache

* Add WorkloadIdentity CRUD service
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/xl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workload ID: Protos and CRUD RPCs for WorkloadIdentity resource
3 participants