Argo Events: How to Synchronize GCP Secret Manager with Kubernetes Secrets

Christian Del Monte
7 min readOct 16, 2023

We show how to use Argo events to synchronize secrets managed in the Google Cloud Platform Secret Manager with Kubernetes secrets.

Illustration generated with midjourney ai.

Argo Events is an open source, event-driven workflow automation tool that helps streamline complex workflows by responding to events and executing tasks in response. In this article, we’ll dive into the concept of event-driven automation, walk through the setup, and provide a step-by-step example of using Argo Events to receive updates to GCP secrets stored in GCP Secret Manager.

Before you begin, make sure you have the following prerequisites:

  • A GCP account with sufficient permissions to create and manage the required resources.
  • Terraform and Kubernetes installed on your local machine.

Since this article is about ArgoEvents, we assume that the basic setup of Terraform and Google Cloud Platform has already been done. Therefore, we will not go into those details.

GCP Secret Manager Events Trigger with Terraform

Google Cloud Platform (GCP) provides a managed service called Secret Manager that allows you to securely store and manage secrets…

--

--

Christian Del Monte

Software architect and engineer with over 20 years of experience. Interested in data lakes, devops and highly available event-driven architectures.