dbones-labs / lab-dev

OrgOps - Enable DevOps with GitOps and KubeOps
https://github.com/dbones-labs/lab-dev/wiki
1 stars 0 forks source link

ssh support for 3rd party components #1

Open dbones opened 2 years ago

dbones commented 2 years ago

some components are set up within a firewalled environment

https://github.com/dbones-labs/lab-dev/blob/main/src/Dev/v1/Components/Postgres/Postgres.cs#L17

public class PostgresSpec
{
    [Required] public string Credentials { get; set; } = string.Empty;

    public bool UseSshTunnel { get; set; } = false;
}

by setting the UseSshTunnel then the Credentials needs to store extra information to allow setting up an SSH tunnel