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

Add SessionRecordingConfig support to cluster configuration RPC service #38591

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

rosstimothy
Copy link
Contributor

Extends the clusterconfigv1.Service to implement RPCs for interacting with SessionRecordingConfig. The various GetSessionRecordingConfig interfaces were also all updated to remove the marshal options since they were never used and served no purpose.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Feb 23, 2024
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_networking branch 2 times, most recently from de2cffc to 4388695 Compare February 23, 2024 20:34
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch 2 times, most recently from a0d615d to d15be58 Compare February 23, 2024 20:55
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_networking branch from 4388695 to 898b050 Compare February 23, 2024 20:56
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch from d15be58 to fd3d649 Compare February 23, 2024 20:58
@rosstimothy rosstimothy marked this pull request as ready for review February 23, 2024 21:12
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_networking branch from 898b050 to 3a376d9 Compare February 26, 2024 20:25
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch from 3c9b2a1 to 1c03b29 Compare February 26, 2024 20:56
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_networking branch 2 times, most recently from 87b2d6c to 0ce12e2 Compare February 27, 2024 22:11
Base automatically changed from tross/cluster_config_rpc_networking to master February 27, 2024 22:47
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch from 1c03b29 to 483873a Compare February 27, 2024 23:07
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch from 483873a to 9b73a63 Compare February 27, 2024 23:11
@rosstimothy
Copy link
Contributor Author

PTAL @GavinFrazar

Copy link
Contributor

@GavinFrazar GavinFrazar left a comment

Choose a reason for hiding this comment

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

Your PR shrank by 1500 lines while I was reviewing it lol.
LGTM with one question.

@rosstimothy
Copy link
Contributor Author

Your PR shrank by 1500 lines while I was reviewing it lol.

Sorry about that. This was the last of a series of three PRs and there were some additional commits that popped in as I was trying to rebase after the previous two were merged.

Extends the clusterconfigv1.Service to implement RPCs for interacting
with SessionRecordingConfig. The various GetSessionRecordingConfig
interfaces were also all updated to remove the marshal options since
they were never used and served no purpose.
@rosstimothy rosstimothy force-pushed the tross/cluster_config_rpc_recording branch from 629de3b to f162221 Compare February 28, 2024 01:06
@rosstimothy rosstimothy added this pull request to the merge queue Feb 28, 2024
Merged via the queue into master with commit f00343c Feb 28, 2024
34 checks passed
@rosstimothy rosstimothy deleted the tross/cluster_config_rpc_recording branch February 28, 2024 01:40
rosstimothy added a commit that referenced this pull request Mar 15, 2024
…ce (#38591)

* Remove marshal options from GetSessionRecordingConfig

* Add SessionRecordingConfig support to cluster configuration RPC service

Extends the clusterconfigv1.Service to implement RPCs for interacting
with SessionRecordingConfig. The various GetSessionRecordingConfig
interfaces were also all updated to remove the marshal options since
they were never used and served no purpose.
github-merge-queue bot pushed a commit that referenced this pull request Mar 19, 2024
* Update cluster configuration backend service APIs (#38349)

Extends the storage layer of ClusterAuthPreference,
ClusterNetworkingConfig, ClusterAuditConfig, and
SessionRecordingConfig to support Create, Update and Upsert. This
will allow consumers of this layer to chose the appropriate write
operation instead of only having a single Set operation.

* Add the cluster configuration RPC service (#38523)

The new clusterconfigv1.Service implements the gRPC service defined
in teleport.clusterconfig.v1.ClusterConfigService. The initial
implementation is restricted to supporting cluster auth preferences.
Support for remaining cluster configuration resources will come
in a series of future PRs. Once all of the resources are covered
the service will be added to the Auth server and consumers of the
old API will be migrated.

* Add ClusterNetworkingConfig support to cluster configuration RPC service (#38590)

* Remove marshal options from GetClusterNetworkingConfig

* Add ClusterNetworkingConfig support to cluster configuration RPC service

Extends the clusterconfigv1.Service to implement RPCs for interacting
with ClusterNetworkingConfig. The various GetClusterNetworkingConfig
interfaces were also all updated to remove the marshal options since
they were never used and served no purpose.

* Add SessionRecordingConfig support to cluster configuration RPC service (#38591)

* Remove marshal options from GetSessionRecordingConfig

* Add SessionRecordingConfig support to cluster configuration RPC service

Extends the clusterconfigv1.Service to implement RPCs for interacting
with SessionRecordingConfig. The various GetSessionRecordingConfig
interfaces were also all updated to remove the marshal options since
they were never used and served no purpose.

* fix: update call using marshal options

* propagate revisions during upsert for cache

* register rpc service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kubernetes-access no-changelog Indicates that a PR does not require a changelog entry size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants