How to set up the Azure Event Grid as the notification source for your environment and rotate secrets
AzureEventGrid
notification source type.
host
: The host interface to bind the listener to. Use 0.0.0.0
to listen on all interfaces.port
: The port on which the listener will accept connections.subscriptions
: A list of subscription names. For each subscription, the listener will create a unique path to listen to events specific to that subscription.http://<host>:8080/my-event-subscription
.your.domain.com
with your actual domain.cert-manager
is installed and configured to obtain TLS certificates.A
record pointing your.domain.com
to the external IP address of your Ingress controller.https://your.domain.com/my-event-subscription
is accessible externally.curl
or a web browser to test the endpoint.my-event-subscription
).https://your.domain.com/my-event-subscription
.reloader-azure-sample.yaml
, reloader-webhook-service.yaml
, and reloader-azure-webhook-ingress.yaml
with the filenames of your configuration files.eventType
and data.Id
fields in the event payload to identify which secret has changed.
subscriptions
list. Each subscription will have a unique path.
host
and port
as needed based on your deployment environment.
cert-manager
to automatically obtain and renew TLS certificates from Let’s Encrypt.
data.Id
in the event must match the secret IDs in your Kubernetes ExternalSecrets.