uselagoon / remote-controller

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

Label the production namespaces with active and standby #236

Open seanhamlin opened 2 years ago

seanhamlin commented 2 years ago

In order to aid visibility into the stack, it would be nice if the operator could label the 2 production namespaces to indicate which is active and which is now standby.

e.g.

lagoon.sh/active-standby=<acitve|standy>

Cross post from https://github.com/amazeeio/dioscuri/issues/23

tobybellwood commented 11 months ago

going to leave this in dioscuri for action

shreddedbacon commented 11 months ago

With uselagoon/lagoon#3592 we can maybe handle this in Lagoon, or more specifically, the remote-controller. The task has no permission to label namespaces, but on task completion, the remote-controller could add these labels.