The idea behind Angler is to provide for a pod that can run and catch webooks from various repos and autoupdate that resource in Openshift.
- Master branch is updated either directly or via PR
- Webhook is sent to Angler on a custom URL
- Angler inspects the payload to find files it cares about
- Angler downloads the file
- Angler pushes changes to the openshift API
Files that are downloaded can be either actual openshift yaml, or raw data. This can be useful if there is a format of a file you want to ingest as a configMap but do not have an automated process that actually creates a configmap from the data.
Currently, Angler can update resources within the Openshift Insights development cluster
because that is where it resides. In order to enable the service to update resources in your
project, you must give edit
access to system:serviceaccount:angler:angler
- enable updating of other openshift resources. Currently only setup for configMaps