uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

Support for multiple controllers #14

Closed shreddedbacon closed 3 years ago

shreddedbacon commented 3 years ago

This adds support for running multiple controllers, each being in their own namespaces.

There is a flag/environment variable that is used to define the namespace that the controller is running in, this is used to label resources created by the controller, and the controller uses a watch filter on this label.

As part of this, it also adds namespace prefixing. There are 2 options for prefixing:

closes #13