Skip to content

Commit

Permalink
docs(webhook): use real cm name instead of placeholder (argoproj#17002)
Browse files Browse the repository at this point in the history
The document says I should registed configMap named argocd-notifications-cm but then uses placeholder in examples.

Signed-off-by: Petr Studeny <[email protected]>
Signed-off-by: penglongli <[email protected]>
  • Loading branch information
dosmanak authored and penglongli committed Mar 6, 2024
1 parent 2644a0a commit c28ebfc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/operator-manual/notifications/services/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Use the following steps to configure webhook:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.<webhook-name>: |
url: https://<hostname>/<optional-path>
Expand All @@ -50,7 +50,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
template.github-commit-status: |
webhook:
Expand Down Expand Up @@ -82,7 +82,7 @@ metadata:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.github: |
url: https://api.github.com
Expand All @@ -97,7 +97,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.github: |
url: https://api.github.com
Expand Down Expand Up @@ -128,7 +128,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.jenkins: |
url: http://<jenkins-host>/job/<job-name>/build?token=<job-secret>
Expand All @@ -145,7 +145,7 @@ type: Opaque
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.form: |
url: https://form.example.com
Expand All @@ -166,7 +166,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
name: <config-map-name>
name: argocd-notifications-cm
data:
service.webhook.slack_webhook: |
url: https://hooks.slack.com/services/xxxxx
Expand Down

0 comments on commit c28ebfc

Please sign in to comment.