Skip to content

notification-controller: Events to Git Provider #101

Discussion options

You must be logged in to vote

Proposal

We can introduce notification providers of type <GIT-PROVIDER>-commit-status.

Github provider example:

apiVersion: notification.fluxcd.io/v1alpha1
kind: Provider
metadata:
  name: podinfo-gh-status
  namespace: gitops-system
spec:
  type: github-commit-status
  address: https://github.com/stefanprodan/podinfo # repo URL
  secretRef:
    name: github-token # GH token with 'repo:status' scope

Alert example:

apiVersion: notification.fluxcd.io/v1alpha1
kind: Alert
metadata:
  name: podinfo-status-update
  namespace: gitops-system
spec:
  providerRef: 
    name: podinfo-gh-status 
  eventSeverity: info
  eventSources:
    - kind: Kustomization
      name: podinfo-staging
    - kind: K…

Replies: 3 comments 13 replies

Comment options

phillebaba
Jul 28, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@phillebaba
Comment options

phillebaba Jul 29, 2020
Collaborator Author

@stefanprodan
Comment options

@phillebaba
Comment options

phillebaba Jul 29, 2020
Collaborator Author

@stefanprodan
Comment options

@phillebaba
Comment options

phillebaba Jul 29, 2020
Collaborator Author

Answer selected by hiddeco
Comment options

You must be logged in to vote
2 replies
@NasAmin
Comment options

@NasAmin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants