-
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
Workload Identity: Add workload-identity-api
service
#50859
Conversation
e5ddbfe
to
b753e19
Compare
5eeb25c
to
85accc5
Compare
b753e19
to
1b58ca1
Compare
85accc5
to
68eebba
Compare
workload-identity-api
serviceworkload-identity-api
service
workload-identity-api
serviceworkload-identity-api
service
4027530
to
907f813
Compare
68eebba
to
467a4cb
Compare
var ( | ||
_ ServiceConfig = &WorkloadIdentityAPIService{} | ||
) |
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.
var ( | |
_ ServiceConfig = &WorkloadIdentityAPIService{} | |
) |
From Effective Go:
The appearance of the blank identifier in this construct indicates that the declaration exists only for the type checking, not to create a variable. Don't do this for every type that satisfies an interface, though. By convention, such declarations are only used when there are no static conversions already present in the code, which is a rare event.
467a4cb
to
bc2ce53
Compare
65cd987
to
b426d09
Compare
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.
Working well on my machine, I was able to issue SVIDs through the socket with spiffe-helper
without any trouble. This is much more convenient than before!
@strideynet See the table below for backport results.
|
* Add new config struct for `workload-identity-api` service * Add CLI command * Add API * Wire up API * Add framework of test * Rename label selectors for consistency * Rename for consistency * Add more assertions to TestBotWorkloadIdentityAPI * Add to command registry * Fix CLI flags
…#51157) * Workload Identity: Add `workload-identity-api` service (#50859) * Add new config struct for `workload-identity-api` service * Add CLI command * Add API * Wire up API * Add framework of test * Rename label selectors for consistency * Rename for consistency * Add more assertions to TestBotWorkloadIdentityAPI * Add to command registry * Fix CLI flags * cla check cla check cla check cla check cla check cla chec
* Add new config struct for `workload-identity-api` service * Add CLI command * Add API * Wire up API * Add framework of test * Rename label selectors for consistency * Rename for consistency * Add more assertions to TestBotWorkloadIdentityAPI * Add to command registry * Fix CLI flags
Part of: #49986
As per RFD191: #49133
Depends on #50833