Kimmo Lehto
Kimmo Lehto
Normalize command execution environment. Cons: - Ugly (sudo is now a function because aliases can't be inherited into subshells) - Complex conditional logic - It's not exactly normalized because of...
Shows a warning if localhost and host clocks are more than 60 seconds apart. 
Fixes #1454 Create a `pharos-admin` service account and sa token and use those instead of the client certificate in the kubeconfig created into `~/.kube/config` during `pharos up`. Instead of copying...
Fixes #1397 Fixes #1402 Makes ssh_key_path option handle relative paths (relative to the tf.json location)
``` $ pharos version -a Kontena Pharos: - pharos version 2.4.0-rc.1+oss Ruby: - ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18] (Ruby, GPLv2, 2-clause BSD) Rubygems: - ast 2.4.0 (MIT) - bcrypt...
Shouldn't be too hard to write a helper that uses `COLUMNS` to avoid something like: 
With TF 0.12 it's possible to generate the full config from TF, no need to provider cluster.yml then.
Only addons that have been already defined in the cluster.yml can be updated via the LegacyTFJsonParser.
`pharos exec -r master --first --tf-json e2e/dititalocean/tf.json` Generates: ``` NoMethodError: undefined method `open_channel' for nil:NilClass /Users/kimmo/Projects/pharos-cluster/lib/pharos/transport/interactive_ssh.rb:22:in `run' /Users/kimmo/Projects/pharos-cluster/lib/pharos/transport/ssh.rb:104:in `block in interactive_session' /Users/kimmo/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' /Users/kimmo/Projects/pharos-cluster/lib/pharos/transport/ssh.rb:104:in `interactive_session' /Users/kimmo/Projects/pharos-cluster/lib/pharos/exec_command.rb:34:in `block in run_interactive' /Users/kimmo/Projects/pharos-cluster/lib/pharos/exec_command.rb:31:in...
The automatic termination can be canceled when in an interactive terminal by pressing a key during a 30 second safe-period.