Added support for webhook triggers. (#380)
This commit is contained in:
parent
c4e4d1439b
commit
f3bfd0f6fa
3 changed files with 27 additions and 1 deletions
|
@ -3,7 +3,7 @@ appVersion: 0.7.0
|
||||||
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
|
||||||
name: argocd-notifications
|
name: argocd-notifications
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.2
|
version: 1.0.3
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -13,4 +13,11 @@ stringData:
|
||||||
token: {{ .Values.secret.notifiers.slack.token }}
|
token: {{ .Values.secret.notifiers.slack.token }}
|
||||||
username: {{ .Values.secret.notifiers.slack.username }}
|
username: {{ .Values.secret.notifiers.slack.username }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.secret.notifiers.webhooks }}
|
||||||
|
webhook:
|
||||||
|
{{- range $k, $v := .Values.secret.notifiers.webhooks }}
|
||||||
|
- name: {{ $k }}
|
||||||
|
{{- $v | toYaml | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -36,6 +36,25 @@ secret:
|
||||||
# Optional override username
|
# Optional override username
|
||||||
username:
|
username:
|
||||||
|
|
||||||
|
webhooks: {}
|
||||||
|
# For more information: https://argoproj-labs.github.io/argocd-notifications/services/webhook/
|
||||||
|
# mywebhook:
|
||||||
|
# url: http://example.com
|
||||||
|
# headers:
|
||||||
|
# - name: headerName
|
||||||
|
# value: headerValue
|
||||||
|
# basicAuth:
|
||||||
|
# username: username
|
||||||
|
# password: mypassword
|
||||||
|
# mywebhook2:
|
||||||
|
# url: http://example.com
|
||||||
|
# headers:
|
||||||
|
# - name: headerName
|
||||||
|
# value: headerValue
|
||||||
|
# basicAuth:
|
||||||
|
# username: username
|
||||||
|
# password: mypassword
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# limits:
|
# limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
|
|
Loading…
Reference in a new issue