Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Updates to Integrating the Events Operator Guide #78

@mchenggit

Description

@mchenggit
  1. For his sample configuration, fix names of secrets, and also add missing "mediations:"
    apiVersion: events.kabanero.io/v1alpha1
    kind: EventMediator
    metadata:
    name: webhook
    spec:
    createListener: true
    createRoute: true
    repositories:
    • github:
      secret: my-githubsecret
      webhookSecret: my-webhooksecret
    • name: webhook

Change to:
apiVersion: events.kabanero.io/v1alpha1
kind: EventMediator
metadata:
name: webhook
spec:
createListener: true
createRoute: true
repositories:
- github:
secret: my-github-secret
webhookSecret: my-webhook-secret
mediations:
- name: webhook

  1. Add to the "Configure the webhook on your source repository"
    Note:

    • For Payload URL, use the route for your webhook mediator.
    • For Content type, select application/json.
    • For Secret, Use the value of the secretToken configured earlier for your secret my-webhook-secret.
    • Select Disable SSL verification, as the default route uses self signed certificates that can not be verified by github.
    • Select send me everything when selecting which events are to trigger the webhook.
  2. Update the kabanero custom resource to 0.9.1 version, if not already updated:

apiVersion: kabanero.io/v1alpha2
kind: Kabanero
metadata:
name: kabanero
spec:
version: "0.9.1"
stacks:
repositories:
- name: central
https:
url: https://github.com/kabanero-io/collections/releases/download/0.9.0/kabanero-index.yaml
pipelines:
- id: default
sha256: caf603b69095ec3d128f1c2fa964a2964509854e306fb3c5add8addc8f7f7b71
https:
url: https://github.com/kabanero-io/kabanero-pipelines/releases/download/0.9.1/kabanero-events-pipelines.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions