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

Register cluster configuration service #38734

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Feb 28, 2024

Updates the auth gRPC server to include the new clusterconfigv1 service. The api client was also updated to allow interacting with the new service(cluster audit config not included yet). Nothing has yet been converted to use the new service, that will come in a follow up.

The RPC service proto was also updated to fix a typo that was reverted in #38736.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Feb 28, 2024
@rosstimothy rosstimothy force-pushed the tross/cfg_service branch 4 times, most recently from bf3a686 to eb111db Compare February 28, 2024 18:58
@rosstimothy rosstimothy marked this pull request as ready for review February 28, 2024 20:08
@rosstimothy rosstimothy force-pushed the tross/cfg_service branch 2 times, most recently from d670327 to e69c42b Compare March 1, 2024 22:16
lib/auth/clt.go Show resolved Hide resolved
api/client/client.go Outdated Show resolved Hide resolved
Comment on lines +2829 to +2831
// An old server would send PIVSlot instead of HardwareKey.PIVSlot
// TODO(Joerger): DELETE IN 17.0.0
pref.CheckSetPIVSlot()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just double-checking, this fallback is only needed for the old service?

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 if the server is recent enough to have the new cluster config service then it also has to be setting HardwareKey.PIVSlot instead of PIVSlot.

@rosstimothy rosstimothy requested a review from r0mant March 5, 2024 05:29
Updates the auth gRPC server to include the new clusterconfigv1
service. The api client was also updated to allow interacting
with the new service(cluster audit config not included yet). Nothing
has yet been converted to use the new service, that will come in a
follow up.

The RPC service proto was also updated to fix a typo that was
reverted in #38736.
@rosstimothy rosstimothy added this pull request to the merge queue Mar 5, 2024
Merged via the queue into master with commit afde093 Mar 5, 2024
37 checks passed
@rosstimothy rosstimothy deleted the tross/cfg_service branch March 5, 2024 17:22
rosstimothy added a commit that referenced this pull request Mar 25, 2024
Updates the auth gRPC server to include the new clusterconfigv1
service. The api client was also updated to allow interacting
with the new service(cluster audit config not included yet). Nothing
has yet been converted to use the new service, that will come in a
follow up.

The RPC service proto was also updated to fix a typo that was
reverted in #38736.
rosstimothy added a commit that referenced this pull request Mar 27, 2024
Updates the auth gRPC server to include the new clusterconfigv1
service. The api client was also updated to allow interacting
with the new service(cluster audit config not included yet). Nothing
has yet been converted to use the new service, that will come in a
follow up.

The RPC service proto was also updated to fix a typo that was
reverted in #38736.
github-merge-queue bot pushed a commit that referenced this pull request Mar 27, 2024
…ngConfig, SessionRecordingConfig (#39785)

* Register cluster configuration service (#38734)

Updates the auth gRPC server to include the new clusterconfigv1
service. The api client was also updated to allow interacting
with the new service(cluster audit config not included yet). Nothing
has yet been converted to use the new service, that will come in a
follow up.

The RPC service proto was also updated to fix a typo that was
reverted in #38736.

* Convert SetClusterNetworkingConfig usages to new Create/Update/Upsert API (#39219)

Migrates callers off the deprecated API and onto the new API so that
ClusterNetworkingConfig can be protected via optimistic locking when
appropriate.

* Convert SetAuthPreferences usages to new Create/Update/Upsert API (#38895)

Migrates callers off the deprecated API and onto the new API so that
AuthPreferences can be protected via optimistic locking when appropriate.

* Convert SetSessionRecordingConfig usages to new Create/Update/Upsert API (#39249)

Migrates callers off the deprecated API and onto the new API so
that SessionRecordingConfig can be protected via optimistic locking
when appropriate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants