philpep / imago

Ensure kubernetes pods run on latest images builds from the docker registry
Apache License 2.0
95 stars 13 forks source link

Implement webhooks to trigger imago remotely via http #3

Open philpep opened 5 years ago

philpep commented 5 years ago

For example:

$ curl -X POST https://imago.example.com/deployment/app
{
   "containers": {
        "app": {
           "new": "registry/app@sha256:YYYY",
           "old": "registry/app@sha256:XXXX"
    },
    "initContainers": {}
}

The webhook url could be protected by basic auth / ingress.