Skip to content

This image is primarily used to ping/call a URL on regular intervals using Kubernetes (k8s) CronJob.

License

Notifications You must be signed in to change notification settings

goavega-software/invoke-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple webhook caller

This image is primarily used to ping/call a URL on regular intervals using Kubernetes (k8s) CronJob.

A sample job would look something like this:

apiVersion: batch/v1
kind: CronJob
metadata:
  name: hello
spec:
  schedule: "*/5 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: hello
            image: goavega/invoke-webhook
            imagePullPolicy: IfNotPresent
            env:
            - name: URL
              value: "https://reqres.in/api/users/2"
            - name: METHOD
              value: "GET"
            - name: PAYLOAD
              value: ""
          restartPolicy: OnFailure

#golang #kubernetes

About

This image is primarily used to ping/call a URL on regular intervals using Kubernetes (k8s) CronJob.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published