Closed bomoko closed 11 months ago
Questions I have
Looks good so far. I think if we're assuming that a set sshHost and sshPort on the openshift object (is there another alias we can use?) means ssh portal, then no need to feature flag, as long as it works ok without them set?
Obviously this method provides an entirely new ssh.options in order to replace the sshPort - does it make more sense to replace the ssh port in the existing line, or is that too computationally hard? What is the likelihood of someone setting their own ssh.options?
I'm closing this PR - while this works somewhat, it doesn't actually work for all use cases.
This is a POC of ssh portal support for drupal_integrations
On running a command, we alter the ssh options (host and ssh.options) to reflect anything that comes through via the openshift->sshHost and openshift->sshPort values for a Lagoon environment.