Kimmo Lehto

Results 132 issues of 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...

bug
enhancement

Shows a warning if localhost and host clocks are more than 60 seconds apart. ![image](https://user-images.githubusercontent.com/224971/62625281-8eaed480-b92d-11e9-9df4-03634180a494.png)

enhancement

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...

enhancement

Fixes #1397 Fixes #1402 Makes ssh_key_path option handle relative paths (relative to the tf.json location)

bug
enhancement

``` $ 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...

chore

Shouldn't be too hard to write a helper that uses `COLUMNS` to avoid something like: ![image](https://user-images.githubusercontent.com/224971/59851650-d5dd0800-9375-11e9-80cd-005a2cd10b3d.png)

chore

With TF 0.12 it's possible to generate the full config from TF, no need to provider cluster.yml then.

enhancement

Only addons that have been already defined in the cluster.yml can be updated via the LegacyTFJsonParser.

bug

`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...

bug

The automatic termination can be canceled when in an interactive terminal by pressing a key during a 30 second safe-period.

enhancement