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

Commit status notifications: Add optional prefix to commit status key #340

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 2, 2022

  1. Add optional prefix for commit status notification

    This commit aims to extend the functionality of commit status
    notifications. It adds an optional key `commitStatusPrefix` to the
    Provider spec so that notification controllers in different
    environments don't overwrite a commit status for a particular resource.
    
    Example use-case: a single object (kustomization/k8s-gitops) is deployed to
    multiple clusters. Specifying this (e.g. to the name of the cluster)
    ensures that the notification controllers on each cluster don't
    overwrite each others' commit statuses when reporting on
    kustomization/k8s-gitops.
    
    Signed-off-by: bcarrier <bcarrier@actbluetech.com>
    bcarrier92 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    de8c7a4 View commit details
    Browse the repository at this point in the history