From 9e37c195cc5a59fade9dd56408dd455b9f5268ef Mon Sep 17 00:00:00 2001 From: James Alseth Date: Sun, 3 Dec 2023 03:25:29 -0800 Subject: [PATCH] fix: Do not check for pubsub.topics.get on initialization (#1853) This permission is not strictly needed and is not included in the pubsub.publisher role. Signed-off-by: James Alseth --- pkg/pubsub/gcp/publisher.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/pubsub/gcp/publisher.go b/pkg/pubsub/gcp/publisher.go index 873a9f9a9..120bf67d5 100644 --- a/pkg/pubsub/gcp/publisher.go +++ b/pkg/pubsub/gcp/publisher.go @@ -45,7 +45,6 @@ var ( // Minimal set of permissions needed to check if the server can publish to the configured topic. // https://cloud.google.com/pubsub/docs/access-control#required_permissions requiredIAMPermissions = []string{ - "pubsub.topics.get", "pubsub.topics.publish", } )