From ceea3b010f99afada6f5e5de377345a574ed05a4 Mon Sep 17 00:00:00 2001 From: Jason Vigil Date: Tue, 26 Nov 2024 22:52:22 +0000 Subject: [PATCH] fix: Codify Apigee proto manual fixes Following up on suggested change in https://github.com/GoogleCloudPlatform/k8s-config-connector/pull/3183#pullrequestreview-2447281185 --- mockgcp/apply-proto-patches.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mockgcp/apply-proto-patches.sh b/mockgcp/apply-proto-patches.sh index 8773da7530..3a5008dc61 100755 --- a/mockgcp/apply-proto-patches.sh +++ b/mockgcp/apply-proto-patches.sh @@ -67,3 +67,7 @@ cd tools/patch-proto # // Optional. The configuration for Private Service Connect (PSC) for the cluster. # PscConfig psc_config = 31 [(google.api.field_behavior) = OPTIONAL]; # EOF + +# Fix issue in generated apigee service proto +# Ref: https://github.com/GoogleCloudPlatform/k8s-config-connector/pull/3183 +sed -i 's/^ post: "\/v1\/{project=projects\/\*}:provisionOrganization"$/ post: "\/v1\/{name=projects\/\*}:provisionOrganization"/g' ${REPO_ROOT}/mockgcp/apis/mockgcp/cloud/apigee/v1/service.proto \ No newline at end of file