Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka notifications #302

Open
alexec opened this issue May 28, 2024 · 0 comments
Open

Kafka notifications #302

alexec opened this issue May 28, 2024 · 0 comments

Comments

@alexec
Copy link

alexec commented May 28, 2024

I want to know when an app successfully (or unsuccessfully) syncs for a generic app. We use Kafka to connect our apps, so this would be a Kafka record. We also standardize on CloudEvents (just like Argo Events). So the event that should be emitted should be something like this:

specversion: 1.0
type: argocd.app.statuschanged.v1
source: argocd.cluster.namespace
id: abc123
datacontenttype: json
data:
  project: api-management-event-gateway
  source:
    repoURL: 'https://github.intuit.com/api-management/event-gateway-deployment.git'
    path: environments/prf-usw2-eks
  destination:
    server: https://eksapi-ip-paas-ppd-usw2-k8s-4b2287f4b1224d2a.elb.us-west-2.amazonaws.com
    namespace: api-management-eventgateway-usw2-prf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant