Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UpsertTrustedClusterV2 RPC (#49789)
* Add UpsertTrustedClusterV2 rpc This supersedes UpsertTrustedCluster rpc. V2 performs resource name validation. * Replace confusing UpsertValidationTrustedCluster name * Use UpsertTrustedClusterV2 in tests * Address feedback - Remove unnecessary ping - Update error messages - Use skipNameValidation consts - Validate cluster name before establishing trust - Do not reveal cluster name in error message - Use BadParameter instead of CompareFailed * Use webclient.Find * Fix test/lint * Allow label updates * Fix test * Fix error handling * Implement CreateTrustedClusterV2 and UpdateTrustedClusterV2 * Address feedback * Minor fixes * Move V2 RPCs to the trust service * Update comment * Drop V2 suffix * Require matching revision * Fix upsert/update revision * Drop V2 from Create and Update APIs * Lint: Fix typo
- Loading branch information