Skip to content

Commit

Permalink
Add support for webhook options in helm template
Browse files Browse the repository at this point in the history
Issue: #1195
  • Loading branch information
messedupryan committed Aug 16, 2023
1 parent 46e2248 commit 2c5f315
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions helm/botkube/templates/persistent-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ data:
{{ toYaml . | nindent 14 }}
{{- end -}}
{{- end }}
{{- if (eq $commPlatformName "webhook") }}
{{ $commPlatformName }}:
enabled: {{ $commPlatform.enabled | default nil }}
url: {{ $commPlatform.url | default "" }}
bindings:
{{- $bindings := $commPlatform.bindings | default nil }}
sources:
{{- with $bindings.sources -}}
{{ toYaml . | nindent 14 }}
{{- end -}}
{{- end }}
{{- end }}
{{- end }}
---
Expand Down

0 comments on commit 2c5f315

Please sign in to comment.