The second is via an Environment variable OVERRIDE_BUILD_DEPLOY_DIND_IMAGE
This PR also removes support for LagoonBuild.Spec.Openshift in favour of the controller being told it is running in an Openshift by using the flag
--is-openshift=true
The reason for this is to allow Lagoon itself to be able to use the same ActiveSystemsX of lagoon_controllerX type between Openshift and Kubernetes and let the controller handle deciding what it needs to itself.
It should be possible to override the build image used at the controller level. This PR adds this functionality by allowing 2 ways to do it
First is with a flag when starting the manager
The second is via an Environment variable
OVERRIDE_BUILD_DEPLOY_DIND_IMAGE
This PR also removes support for
LagoonBuild.Spec.Openshift
in favour of the controller being told it is running in an Openshift by using the flagThe reason for this is to allow Lagoon itself to be able to use the same ActiveSystemsX of
lagoon_controllerX
type between Openshift and Kubernetes and let the controller handle deciding what it needs to itself.closes #11