uselagoon / remote-controller

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

Support TASK_X variable overrides #16

Closed shreddedbacon closed 3 years ago

shreddedbacon commented 3 years ago

This adds initial support for TASK_X variables so the controller can inject the known lagoon endpoints into tasks that it runs.

TASK_API_HOST
TASK_SSH_HOST
TASK_SSH_PORT

Normally it would check inside the task spec, but this may not always contain a value.