From 17efcaa6d1afa853bf1a9c21f13cb8f019e01e7a Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Mon, 6 Jan 2020 16:35:52 -0600 Subject: [PATCH] update helm chart --- charts/flagger/README.md | 1 + charts/flagger/templates/deployment.yaml | 3 +++ charts/flagger/values.yaml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/charts/flagger/README.md b/charts/flagger/README.md index eb64b943..fc993132 100644 --- a/charts/flagger/README.md +++ b/charts/flagger/README.md @@ -83,6 +83,7 @@ Parameter | Description | Default `slack.url` | Slack incoming webhook | None `slack.channel` | Slack channel | None `slack.user` | Slack username | `flagger` +`eventWebhook` | If set, Flagger will publish events to the given webhook | None `msteams.url` | Microsoft Teams incoming webhook | None `podMonitor.enabled` | if `true`, create a PodMonitor for [monitoring the metrics](https://docs.flagger.app/usage/monitoring#metrics) | `false` `podMonitor.namespace` | the namespace where the PodMonitor is created | the same namespace diff --git a/charts/flagger/templates/deployment.yaml b/charts/flagger/templates/deployment.yaml index 73a1ebb1..31d5b423 100644 --- a/charts/flagger/templates/deployment.yaml +++ b/charts/flagger/templates/deployment.yaml @@ -82,6 +82,9 @@ spec: {{- if .Values.ingressAnnotationsPrefix }} - -ingress-annotations-prefix={{ .Values.ingressAnnotationsPrefix }} {{- end }} + {{- if .Values.eventWebhook }} + - -event-webhook={{ .Values.eventWebhook }} + {{- end }} livenessProbe: exec: command: diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index d4215dd4..325ec3df 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -29,6 +29,9 @@ slack: # incoming webhook https://api.slack.com/incoming-webhooks url: +# when specified, flagger will publish events to the provided webhook +eventWebhook: "" + msteams: # MS Teams incoming webhook URL url: